On Mon, 2005-03-07 at 11:34 -0800, Ranga Nathan wrote: > I am trying out an example to HTTP POST to a web site. The host language > is not Perl, unfortunately. > > I tried to test it with telnet first...I am getting 501 Method not > implemented... > > I am doing something wrong.
Hi Ranga, It is not clear to me that *your* host or the *server* host has perl. If your host has perl, then the LWP libs will often install the helper scripts GET, HEAD, POST (probably others but those are the ones I use) in a local directory (/usr/bin/, /usr/local/bin). They are are handy for doing stuff like this. [EMAIL PROTECTED] ~]$ POST http://www.example.com/app/search.html Please enter content (application/x-www-form-urlencoded) to be POSTed: query=foo ^D If you have HTML::Parse installed, you can also pass the -o option so that it will parse the HTML for you and give you a little more readable output on your terminal (I use -o 'text') Toodles, Larry _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

