Help with implementing HTTP Queries in C++

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
Bump?
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/
Topic archived. No new replies allowed.