lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Need Help with post_data


From: David Woolley
Subject: Re: LYNX-DEV Need Help with post_data
Date: Mon, 16 Feb 1998 09:10:27 +0000 (GMT)

> 
> To do it on the command line and *not* have it enter interactive mode:
> echo "name1=val1&name2=val2" | lynx -post_data -dump http://.... >> 
> whatever.filename

Any occurrences of &, space, =, %, and +, at a minimum, need encoding.  Space is
encoded as + and the others as %xx, where xx is their hexadecimal value.
Some software compares the coded values, so coding space as %20 doesn't
always work.

>> should be >, unless you really want to concatentate all the replies - some
Unixes may require you to delete any old file first.

The full rules on unsafe characters and encoding can be obtained by following
the links on HTTP and Forms on http://www.w3c.org/.  (Other characters,
including / and ? are supposed to be encoded.  All this assumes that the
site is capable of handling x-www-urlencoded style forms, and that you are
posting form data, rather than other data.)

reply via email to

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