On 10/03/2012 07:30 AM, JALINDAR wrote:
Hi All,I am working on project where I suppose to send HTTP1.1 POST request to the server and server will response with code which i want to abstract for further processing. I have seen postit2.c file example in the doc folder in the project folder, but is of not much help. How to connect body of the packet? I have pointer to the SOAP data which i want to send to the server. /* Perform the request, res will get the return code */ res = curl_easy_perform(curl); this is the code snap from postit2.c from example folder. Here only response status is returned where I want to have complete response file. Can anybody tell how can I send HTTP 1.1 post packet and get the detailed POST response file from server. Thanks Jalindar /* */
To have a pleasant experience with libcurl, I suggest to start with http://curl.haxx.se/libcurl/c/libcurl-tutorial.html. It answers your question and many more that you may soon have.
-lijo ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
