On Fri, 27 Sep 2013, Ulf Samuelsson wrote:
Want to create a query with multiple fields, and get the result in a C++
string
Example: "http://www.myserver.com?field=1&field=2&field=3"
The server need the query to be of the form
"application/x-www-form-urlencoded".
Here's a very simple example showing how to send the POST:
http://curl.haxx.se/libcurl/c/simplepost.html
... and you can combine that with the example showing how to receive the
response back into a memory buffer:
http://curl.haxx.se/libcurl/c/getinmemory.html
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html