[Visual] C++ - Make HTTP Request and set the response as an string

Hello,

I'm pretty new in C++ and I know it's stupid to C&P but if I know how the source can look I would maybe learn it better :)

Can somebody give me a source / a tool which make a HTTPRequest, post the data from "TextBox1" into it, get the response and set it as variable "Reponse"? The URL should look like this ( I already got a PHP ): http://example/get.php?="Textbox1 here"

I've already found some sources but I always had the fear that the tool will make the HTTP Request more then 1 time.

Thanks a lot :)
There is libCURL if you want to use it in your program or curl command-line executable which you can call from your application.
http://curl.haxx.se/
+1 libCURL
amazing little piece of code, easy to understand yet very powerful. go take a look. Specially on the examples section.
Thank you both guys! Could you tell me where the example section is? :/
In docs/examples folder.
Ah. I've found it out, works great with libCURL.

Thanks a lot!!
Topic archived. No new replies allowed.