Help with implementing HTTP Queries in C++

Dec 16, 2015 at 9:24pm
I was wondering how would someone implement a listener for GET and POST in a c++ program. For example:
GET http://1.2.3.4:5678/action?message=helpme

and

POST http://1.2.3.4:5678/action

POST Body: {"message":"Thanks for helping"}

Also, if any of you have a simpler way to do this in QtCreator, that would be awesome
Dec 17, 2015 at 1:28pm
Bump?
Dec 17, 2015 at 1:57pm
See http://googolflex.com/wp-content/uploads/2009/07/simpleclient.cpp

For something more elaborate, you may want to use a library.
For instance, libcurl http://curl.haxx.se/libcurl/
Dec 17, 2015 at 2:07pm
Topic archived. No new replies allowed.