cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: http POST, still not working

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 Oct 2002 18:03:00 +0200 (MET DST)

On Tue, 8 Oct 2002, Kyle Davenport wrote:

> For a while I was trying this to set my cookies: curl --dump-header
> ~/headers -d "name=username&passwd=password"
> http://weareit/support/login.asp

This is a rather simple and sometimes not good enough way to store cookies. A
better way is the cookiejar, using -c.

Then you use -b on that file in the next request to read the cookies back in
again.

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-08