curl-users
Re: telia.se login
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 29 Sep 2005 13:55:45 +0200 (CEST)
Date: Thu, 29 Sep 2005 13:55:45 +0200 (CEST)
On Thu, 29 Sep 2005, zEUZ wrote:
> curl -d "username=ME&password=MyPW"
> https://komc.tewss.telia.se:443/adressbok/db/pck_html_Kontakt.starta
Ok, then you could proceed with:
Add -L to make curl follow locations and
Add "-b -" to activate curl's built-in cookie parser.
Add "--trace-ascii dump" to get a full trace of what happened to make it
easier to understand exactly what happened and what didn't.
But, I would advice that you first use LiveHTTPHeaders to track down exactly
what your browser does. It isn't unlikely that you need to first get the login
page to collected some cookies and _then_ do the post. Many sites work that
way.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-09-29