cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem in Post method implementation

From: Ajeet kumar.S <ajeetkumar.s_at_jasmin-infotech.com>
Date: Tue, 15 Jul 2008 14:41:42 +0530

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
Received on 2008-07-15