cURL / Mailing Lists / curl-library / Single Mail

curl-library

HTTPS POST

From: Alex Kelly <mail_at_aekelly.com>
Date: Tue, 9 May 2006 15:45:48 -0700

I'm having trouble with HTTPS POST.

I can do an HTTPS POST to a website that does not require authentication.

However, I cannot do an HTTPS POST if the website requires authentication.

When I add "curl_easy_setopt(queue, CURLOPT_USERPWD, userpass);" to my code,
libcurl thinks that I want to download the webpage, instead of post to it.

Is there a way to pass the username and password to a website so I can HTTPS
POST?

Thanks,
Alex
Received on 2006-05-09