Reputation: 20766
Where can I see an example of HTTP POST request using boost::asio?
I've only saw some examples with HTTP GET requests.
Upvotes: 2
Views: 9330
Reputation: 947
Look at this http request header for example:
POST /path/script.cgi HTTP/1.0
From: test@tests.com
User-Agent: HTTPTool/1.0
Content-Type: application/x-www-form-urlencoded
Content-Length: 32
argument1=text&argument2=arg2text
Check out the get example and change the request to this. Probably alter whatever you think should be altered
Upvotes: 0