curl-library
Re: Receiving HTTP POST message after sending HTTP POST
Date: Wed, 12 Jul 2006 16:19:45 -0000
you setup a callback using CURLOPT_WRITEFUNCTION. see the examples that
come with curl.
allan
On Wed, Jul 12, 2006, jessica rearick <jmdaisy516_at_gmail.com> said:
> I need to send an HTTP POST which includes a XML string in the C++
> language. I believe that this is being performed properly by using the
> following
>
> // Headers
> headerlist = curl_slist_append (headerlist, "Content-Type:");
> curl_easy_setopt(curl_handle, CURLOPT_URL, uri);
> curl_easy_setopt(curl_handle, CURLOPT_HTTPHEADER, headerlist);
> curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDS,xmlString);
>
> My problem is that I need to receive a HTTP POST xml string from the message
> the I have HTTP POSTed. How do I receive an immediate response after I have
> performed an HTTP POST?
>
> Thanks for any help!
>
-- m. allan noah IT Director, TfHS.net ph# (804) 355-5489 tf# (866) 724-9722 fx# (804) 355-0477Received on 2006-07-12