curl-users
Re: Question on submiting a POST form
Date: Sat, 20 Dec 2008 10:18:30 -0500
On Sat, Dec 20, 2008 at 10:01 AM, Q Zhu <zhuq1_at_yahoo.com> wrote:
> So in other words, curl cannot handle this type of submit button? this is
> not very encouraging, for me...
I think it's safe to say that curl can send the correct information.
However, your *actual* problem is to figure what a web browser sends
*exactly*, using LiveHTTPHeaders, for instance. Once you know what was
actually sent to the server, disregarding what the html looks like,
you make curl send identical data using the appropriate options. Keep
in mind one or more invocations may be necessary to gather up proper
cookies, etc, before issuing the call of interest.
Lars Nilsson
-------------------------------------------------------------------
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