cURL / Mailing Lists / curl-library / Single Mail

curl-library

Responce to a HTTP Post

From: Raquel Vieira <raquel.vieira_at_ent.efacec.pt>
Date: Tue, 8 Nov 2005 15:06:07 -0000

Hi.

I'm doing a HTTP Post using libcurl.

 

I'm using the following options:

curl_easy_setopt (httpHandle, CURLOPT_URL, url.c_str ());

curl_easy_setopt (httpHandle, CURLOPT_POST, 1);

curl_easy_setopt (httpHandle, CURLOPT_POSTFIELDS, postData.c_str());

 

 

When I do thw post, the server answers with OK/NOK and I need to get the
answer.

How can I do that?

 

Thanks in advance for the help,

 

Raquel Vieira

 
Received on 2005-11-08