curl-users
Re: curl, javascript, and form submission
From: Kjell Ericson <Kjell.Ericson_at_haxx.se>
Date: Fri, 6 Nov 2009 16:16:08 +0100 (CET)
Date: Fri, 6 Nov 2009 16:16:08 +0100 (CET)
On Fri, 6 Nov 2009, kap4lin 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
// Kjell
-------------------------------------------------------------------
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