Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 14:41

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hwo can i query this https site
PostPosted: 12 Jul 2009 16:31 

Joined: 08 Jul 2009 05:55
Posts: 12
I have seen this url here
Code:
https://api.getgsc.com/?command=get_gameservers_csv&search_by=game_abbrev&search_term=q3&limit=100000

and it worked great to open it with firefox, but how can i open it using winapi or only plain c programming language. I know how to download a normal http-site to a chr-buffer, but this one i have no idea. Can you please help me luigi, or maybe you have a link for a tutorial or something similar, thx so far.


Top
 Profile  
 
 
 Post subject: Re: Hwo can i query this https site
PostPosted: 12 Jul 2009 16:48 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
you have 2 alternatives:
- using a library and in this case I guess that libcurl is the simplest solution since it supports also the https protocol
- using an external program like the curl tool or wget (check if it has been compiled with ssl support) saving the list temporary on the disk and then handling it line-per-line with fgets()


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: