cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: posting with curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 May 2007 16:07:55 +0200 (CEST)

On Tue, 8 May 2007, sonali gadekar wrote:

> curl --cookie cookies --cookie-jar cookies --location
> https://rhn.redhat.com/rhn/YourRhn.do --data
> "username=user&password=password&_flowId=legacy-login-flow&_eventId_submit=Log+In"
> https://www.redhat.com/wapps/sso/rhn/login.html

--location doesn't take any extra arguments. This command line thus features
two URLs to which curl will POST to, and I doubt you intended that.

--trace-ascii and LiveHTTPHeaders are two good tools to use as well.

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