On Sat, 21 Jan 2012 15:08:51 +0200 Volkan YAZICI <yazic...@ttmail.com> wrote:
> On Sat, 21 Jan 2012 18:10:12 +0530, "J. Bakshi" writes: > > I have a form which have 2 input field "Roll number" and "comments" ; using > > formfind command I get the following > > > > ``````````````````` > > --- FORM report. Uses POST to URL "index.php" > > Input: NAME="go" VALUE="1" (HIDDEN) > > Input: NAME="roll_no" VALUE="10" (TEXT) > > Textarea: NAME="message" > > Button: "Submit" (SUBMIT) > > --- end of FORM > > --- FORM report. Uses GET to URL "<form name=copy>" > > Button: "Copy to clipboard" (BUTTON) > > Textarea: NAME="txt" > > --- end of FORM > > > > ```````````````````` > > > > The roll number always have 10 as default, and there is a text-area to > > input comment. How can I use wget with --post-data option to send the > > values ? > > And how can I use wget for [ Button: "Submit" ] ? > > Use curl instead: > > $ curl -v -d go=1 -d roll_no=10 -d message="foo bar baz" -d submit=1 > index.php > > Thanks for both wget and curl guidance. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120121193539.6f7bf...@shiva.selfip.org