cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: submit problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Jul 2003 23:15:45 +0200 (CEST)

On Wed, 2 Jul 2003, Brano wrote:

> I like CURL, really. Now I have following problem, everything works on
> simple pages, without no scripts...Now I found one page, where submit is
> script, so I don't know if it is possible to submit filled form.
>
> how to do that?
>
> <A class=send href="javascript:document.forms.form.submit();">Yes, I
> agree</A>
>
> it is possible, or I can forget it ?

It is still possible to do with curl, only a little harder. You need to figure
out how that scripting piece works, or you can capture your browser's
submission and see how it sends it off.

In this case above, I figure that piece of script simply submits the named
form when the user clicks on the link.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
Received on 2003-07-02