cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTP Authentication Failure

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 16 Aug 2006 13:40:00 +0200 (CEST)

On Wed, 16 Aug 2006, Robert Archer wrote:

> curl-7.15.4\curl.exe -U "myusername:mypassword" -d "@c:\test.xml" -H
> "Content-Type: text/xml" -v -H "SOAPAction: myURL" myURL

> Basically I've been supplied a username and password to use the service.

Yes, -U is for *proxy* authentication. For host authentication you use
(lowercase) -u.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-08-16