cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Basic Authentication from command-line cURL

From: pURbA <law_rent_at_yahoo.com>
Date: Tue, 19 Jul 2005 13:40:09 -0700 (PDT)

thanx 4 ur reply.

what do u mean by automatically? does it mean it
converts the username:password using base 64 function?

btw, i've tried as u suggested, it still gives me the
same result '401 Unauthorized'

thanks!

laurent

--- Ignacio Vazquez-Abrams <ivazquez_at_ivazquez.net>
wrote:

> On Tue, 2005-07-19 at 13:16 -0700, pURbA wrote:
> > My question are:
> > 1. How can I implement the No.2 requirements in
> cURL?
> > 2. If I use 1st attempt (plain username:password),
> > does cURL automatically convert username:password
> with
> > base 64?
>
> curl .... https://username:password@host/....
>
> cURL handles the username and password
> automagically.
>
> --
> Ignacio Vazquez-Abrams <ivazquez_at_ivazquez.net>
> http://fedora.ivazquez.net/
>
> gpg --keyserver hkp://subkeys.pgp.net --recv-key
> 38028b72
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on 2005-07-19