curl-library
HTTP 1.1 POST and response packet formation using libcurl
Date: Wed, 3 Oct 2012 11:30:10 +0800
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
*
*
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-03