cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Can't press a non-submit button

From: Will Weatherford <fiveweatherfords_at_gmail.com>
Date: Fri, 7 Sep 2007 15:48:15 -0400

LiveHTTPHeaders was the trick. I took the contents it gave me:

100.system.configurationScheduler=0&0.type=0&0.hour=14&0.days=3&1.id=&0.minute=0&101.system.configurationScheduler=Add

and modified it to come up with this syntax:

curl --insecure -v -A "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;.NET
CLR 2.0.50727; InfoPath.1; .NET CLR 1.1.4322)" -u MarkNet:administrator -e
https://157.184.14.68/cgi-bin/dynamic/config/gen/fax/holdingfax.html -d
100.system.configurationScheduler=0 -d 0.type=0 -d 0.hour=15 -d 0.days=4 -d
1.id= -d 0.minute=0 -d 101.system.configurationScheduler=Add
https://157.184.14.68/cgi-bin/dynamic/config/gen/fax/holdingfax.html >>
"C:\Documents and Settings\weather\Desktop\results.log"

It contained all of the additions you suggested Ralph. Good call.

Thanks guys!

On 9/7/07, Ralph Mitchell <ralphmitchell_at_gmail.com> wrote:
>
> On 9/7/07, Will Weatherford <fiveweatherfords_at_gmail.com> wrote:
>
> >
> > This looks like progress, but it did not add an additional entry to the
> > page, as I want to do.
> >
> > Additional comments would be greatly appreciated.
>
> You should try the LiveHTTPHeaders extension for Firefox. It'll show
> you *exactly* what headers the browser sends to the server.
>
> Based on the form, I'd say you're missing a couple of things:
>
> -d 100.system.configurationScheduler=0
> -d 1.id=
> -d 0.minute=0
>
> I also noticed that some of the names have a leading space, as in:
>
> <SELECT NAME=" 0.days">
>
> I don't know if that makes any difference to the server...
>
> Ralph Mitchell
>
Received on 2007-09-07