cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Using CURL with asp and javascript

From: Mark Turrin <mlt_at_linkzone.com>
Date: Thu, 18 Nov 2004 07:03:14 -0800

On Nov 18, 2004, at 12:20 AM, Daniel Stenberg wrote:

> On Wed, 17 Nov 2004, Mark Turrin wrote:
>
>> Is curl the right tool for working with asp and javascript?
>
> It depends on what you mean with "working with". curl will download
> whatever the ASP outputs. It will not execute any javascript code.
>

The page has a very long hidden field that I'm trying to pass thru
using curl. Here's what I have:

curl -d
"__VIEWSTATE=dDwtMTgyODkzNTY7dDw7bDxpPDE%2BOz47bDx0PDtsPGk8Nz47PjtsPHQ8c
DxwPGTQjs%2BO2w8XGU7MjxUcmFuc3BhcmVudD47aTw4Pjs%2BPjs%2BOzs%2BOz4%2BOz4%
2BO2w8TG9nb25CdG47Pj5rMLGuDoJUSN61jFC9NxdhejXbpQ%3D%3D&Name=siteworks&Pa
ssword=mark&LogonBtn.x=20&LogonBtn.y=11Name=XXXX&Password=XXXXXX&LogonBt
n.x=20&LogonBtn.y=11" http://dplwireless.com/login.aspx

Do I need to pass other parameters to get this to login correctly? (I
XXXXX out name and password for this post)

Thanks,

mlt
Received on 2004-11-18