cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem to sent 0 content length data...

From: Ajeet kumar.S <ajeetkumar.s_at_jasmin-infotech.com>
Date: Mon, 21 Jul 2008 14:06:36 +0530

Hi all,

I was using post method with 0 content length data just only set the header.

 I set the following option:

curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, 0);

Actually I want to send zero content length to server.

Then I used curl_easy_perform(curl); Then I saw always input window was
opening for input (I think in curl some where scanf is going to use).

How I can solve this problem. Actually I want to sent 0 content length data.

Please advice me on this topic.

  

Thank you.

Regards,

Ajeet Kumar Singh

 
Received on 2008-07-21