cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl command (post data question)

From: Jagg Crossbone <jagg_at_xmail.net>
Date: Wed, 02 Sep 2009 17:05:20 +0200

Hi,

I have problems sending the correct -d command with/for the following url

http://www.handelsblatt.com/default.aspx?_p=389&wp1_symbol=DXU9.DTB&wp1_t=wp1_quoteshistory

On this site there are dropdown menus for

"Darstellung:" (default: Tag)
and
"Zeilen pro Seite:" (default: 20)

I want to change these two menus with post commands to "Darstellung:" = 5 and "Zeilen pro Seite:" = 100 with this command:

curl -d "ctl00%24ctl00%24ctl22%24ctl00%24ctl03%24DD_Step=5&ctl00%24ctl00%24ctl22%24ctl00%24ctl03%24DD_Lines=100" "http://www.handelsblatt.com/default.aspx?_p=389&wp1_symbol=DXU9.DTB&wp1_t=wp1_quoteshistory" > source.html

The post data variables I used in my command are from the "Liive HTTP headers" addon for firefox (so i think these are the correct ones?!)

Do I miss something else in the -d parameter?!

Thanks a lot
Jagg
------------------------------------------------------------------------------------
XMail.net Communications Center
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-09-02