cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl, javascript, and form submission

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 6 Nov 2009 16:25:15 +0100 (CET)

On Fri, 6 Nov 2009, Kjell Ericson wrote:

>> editRow=12&delrow=0&enable=0&name=uvwx&ip=192.168.0.123&protocol=1&priPort=1234&pubPort=1
>
>> How do I convert this to a curl command?
>
> Use -F or --form
>
> curl -F "editRow=12&delrow..." http://192.168.0.16/abcd.cgi

Sorry but no, that was a regular -d "editRow=12&delrow=0&enabl..."

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-06