lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] How to format data for -post_data


From: Soumitra Chatterjee
Subject: [Lynx-dev] How to format data for -post_data
Date: Tue, 26 Jul 2005 12:14:46 +0530

Hi,

I have seen quite a number of posts related to -post_data and its
uses. However, I fail to see a mention of how to submit a form having
a textarea input field.

The problem is that I want to submit a form having such a textarea
field with multiple lines of input (with some special characters like
+ and ;). However, lynx concatenates everything to a single line, and
then gets confused by the special characters.

Is there something that I can do to format the input data such that
lynx can pass it on correctly to the server? A sample form data that I
would like to submit is shown below.

$ cat file.txt
Name=Soumitra
&Address=House no 000,
PO + Vill: My village;
Some country

$ lynx -post_data http://form.server.com/submit.cgi < file.txt

Thanks,
Soumitra




reply via email to

[Prev in Thread] Current Thread [Next in Thread]