cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Basic Authentication from command-line cURL

From: Ignacio Vazquez-Abrams <ivazquez_at_ivazquez.net>
Date: Tue, 19 Jul 2005 16:26:09 -0400

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

Received on 2005-07-19