curl-library
Problem regarding to post 0 content length data
From: Ajeet kumar.S <ajeetkumar.s_at_jasmin-infotech.com>
Date: Tue, 22 Jul 2008 11:58:08 +0530
Date: Tue, 22 Jul 2008 11:58:08 +0530
Dear All,
Thank you Daniel. I set below option:
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, 0);
Curl ask to input through keyboard(means one input window open to give
the input using keyboard).
Here I want to sent no data. So I set given below option:
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "\0");
Then it is working not calling input window.
Why if I was using 0 instead of "\0" in curl option it was showing
input window for input through keyboard.
Thank you.
Regards,
--Ajeet Kumar Singh
Received on 2008-07-22