cURL / Mailing Lists / curl-users / Single Mail

curl-users

newb question: cookies w/ post

From: Dennis Falling <dfalling_at_mac.com>
Date: Mon, 14 Feb 2005 01:19:53 -0600

I'm trying to use curl to post to a page, but the page tells me I don't
have cookies enabled. I've tinkered around with the different
settings, but haven't gotten anything to work. Does anyone know the
best way to make this work? Here's the command I'm using...the
resulting page complains about cookies. Ideally, it will complain
about a bad username/password...

curl -b cookies.txt -d "username=elroyel1327&password=woo&Next=Submit"
https://my.netspace.net.au/logincheck

Thanks,
-dennis falling
Received on 2005-02-14