C++ - how to send a HTTP post request using Curlpp or libcurl

I would like to send an http post request in c++. It seems like libcurl (Curlpp) is the way to go.

Now, here is a typical request that am sending

http://abc.com:3456/handler1/start?<name-Value pairs>

The name values pairs will have:

field1: ABC
field2: b, c, d, e, f
field3: XYZ

etc.

Now, I would like to know how to achieve the same using curlpp or libcurl. Code snippets will really help.

7
задан AMM 3 September 2010 в 08:51
поделиться