cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem in Post method implementation

From: Wei Weng <wweng_at_kencast.com>
Date: Tue, 15 Jul 2008 15:08:29 -0400

Ajeet kumar.S wrote:
> Dear all,
>
> Thank you Wei for your help.
>
>>Ajeet,
>
>>You should probably try this:
>
>>char* user_passwd = ”username=abc123_at_yahoo.com&password=abc”;
>
>>curl_easy_setopt(curl , CURLOPT_POST, 1);
>>curl_easy_setopt(curl, CURLOPT_URL, “http://www.yahoo.com%94);
>>curl_easy_setopt(curl, CURLOPT_POSTFIELDS, user_passwd);
>
>>curl_easy_perform(curl );
>
>>You need to make sure everything
>
> I tried it also but I did not get success.
>
> Any extra thing we need to write for login process implementation using
> post method.
>
>
>
> Thank you.
>
> Regards,
>
> Ajeet
>
Ajeet,

The best way to get help is to

1: Send a small snippet that you think is bothering you.
2: Describe the version of libcurl that you use, the way that you call
your program and where you think that produces the incorrect result.

Thanks
Wei
Received on 2008-07-15