cURL / Mailing Lists / curl-users / Single Mail

curl-users

Problems with -d option to submit form

From: <karen_beaumont_at_uk.ibm.com>
Date: Mon, 30 Apr 2001 15:38:35 +0100

Hello - great tool, but it doesn't seem to work for what I need! I am
trying to submit a form using the syntax:

curl -d
"type=callback&lang=en_GB&vdn_ext=23089&uui_data=Power&callUsrSrcPage=hhtp%3A%2F%2Fwww.ibm.com&cname=karen&cbno=999999&Call+Me=submit"

http://iedmmicm.ie.ibm.com/icc/en_GB/genericchat.asp

I have used formfind.pl to pull the required field names for this. This is
a mouthful, so I have tried the minimum input as:

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!

All I see back is the page as if it were submitted with no parameters at
all! I am using AIX 4.2.1.0. Would it have something to do with firewalls
which we use heavily in IBM? If I submit the same URL from a browser, then
it all works OK (the second example above I mean).

Any ideas please - I am going crackers here?!

Many thanks,
Karen Beaumont
IT specialist Web Infrastructure for ibm.com.
SGJ3 - North Harbour
Phone 251730 (internal) 44-2392 561730 (external)
EMail karen_beaumont_at_uk.ibm.com
visit our website :
- public : http://www.ibm.com/uk
- internal : http://w3.ibm.com/emea
Received on 2001-04-30