cURL / Mailing Lists / curl-users / Single Mail

curl-users

Question on submiting a POST form

From: Q Zhu <zhuq1_at_yahoo.com>
Date: Fri, 19 Dec 2008 21:18:10 -0800 (PST)

Hi,

I am having some trouble figuring out how to submit to a POST form that requires one to click a "submit' button. The HTML source for the submit button part looks like this:

<INPUT type=submit value=Submit class="goInputHome">

This is not quite the same as in the curl tutorial on this subject, where their 'typical' submit button is coded in the html source like:

<INPUT name=ding value="submit">

where one could use the -d option with "ding=submit" to submit the form. But with the above type of submit button, I can't seem to figure out how to do it with the -d option because there's no 'name' tag.

Any help will be greatly appreciated!

QZ (zhuq1_at_yahoo.com)

      

-------------------------------------------------------------------
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 2008-12-20