cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Help with POST method

From: Mike Protts <mikep_at_proatria.com>
Date: Tue, 17 Oct 2006 13:56:42 +0100

You might try:
curl -F"state=1" -F"Save=" https://www.sunrocket.com/members/settings/editCallForwarding.do

Regards
Mike

On Tue, 17 Oct 2006 05:46:51 -0700 (PDT)
Ravi Malghan <rmalghan_at_yahoo.com> wrote:

> Hi: I have the webpage that uses the POST method. The following code is in the page.
> <form name="CallForwardingForm" method="post" action="/members/settings/editCallForwarding.do">
> <input type="radio" name="state" onclick="changeDivs('rule03')" value="1" >
> <input type="submit" value="Save" onmousedown="this.className='button_down'" onmouseup="this.className='button_up'" class="button_up">
>
> Can someone help me with filling up the -d option. Can't seem to understand how to fill up options for radio type.
> curl -d "state=1&Save=
> https://www.sunrocket.com/members/settings/editCallForwarding.do
>
> Thanks
> Ray
>
>
>

-- 
Regards 
Mike Protts
Senior Technical Consultant
Pro:Atria Ltd
+44(0)870 765 6453
Received on 2006-10-17