cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problems with -d option to submit form

From: SM <nntp_at_iname.com>
Date: Tue, 01 May 2001 22:08:19 +0400

Hello,
At 15:38 30-04-2001 +0100, karen_beaumont_at_uk.ibm.com wrote:
>curl -d "type=callback"
>http://iedmmicm.ie.ibm.com/icc/en_GB/genericchat.asp
>
>With the same result (I have run it using the -i and -v options and it all
>looks good), EXCEPT the form just seems to ignore all the parameters passed
>with the -d option (tried single quotes;no quotes;-F option to pass info
>via a file). Also tried using -x option to force a proxy - all to no
>avail!

That webpage sets a cookie for the session. You can use -b empty.txt to
trigger cookie awareness.

Type "curl --dump-header headers www.example.com" to verify whether cookies
are being used. The headers file will have a line starting with
"Set-Cookie:" if the website is setting a cookie.

Regards,
-sm
Received on 2001-05-01