cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTPS entering username and password

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 4 Feb 2005 20:02:07 +0100 (CET)

On Fri, 4 Feb 2005, David Stephenson wrote:

> On a browser the site would put a GUI in which to enter the username and
> password for the site. I have tried various options suggested in the manual
> for entering this information (-u etc) but I always get the web page back
> "you are not authorized to view...". Is there something I am missing here.

Use a tool that figures out what your browser does, then make curl do the
same. See the second half of this list:

         http://curl.haxx.se/docs/relatedtools.html

Most likely (based on your description) you're expected to POST the
user+password to get logged in.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-02-04