Hi all,
I am implementing a http client in c++. I want to write a method to send the POST request to server. How will i do that?
what is the format for the request to server send by POST method?
what is the format for the response from server for the POST method?
What is the basic difference in the methods PUT and POST while sending the message body in http request?

Please explain with a psuedo code.

Thanxs.

Kiran Parmar

Member Avatar for GreenDay2001

You will have to use system API tto do that and that depends upon the operating system you use. For example if you use Windows you need to implement windows API. Download Platform SDK and refer to its documentation or
http://msdn2.microsoft.com/en-us/library/aa384273.aspx

Here's the difference between post and get method. Its quite simple to understand
http://www.cs.tut.fi/~jkorpela/forms/methods.html

Perhaps you must seek for help in C/C++ Forum

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.