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. telnet www.xe.com 80 POST /ucc/convert.cgi HTTP/1.1 Host: www.xe.com Content-type: application/x-www-form-urlencoded Amount=100&From=USD&To=AUD&submit=1 This is what I get: HTTP/1.1 200 OK Date: Mon, 07 Mar 2005 19:22:23 GMT Server: Apache Set-Cookie: ID=167.184.17.61.751701110223343337; path=/; expires=Sun, 02-Mar-25 19:22:23 GMT Transfer-Encoding: chunked Content-Type: text/html ad <HTML> <HEAD> <TITLE>Universal Currency Converter Error</TITLE> </HEAD> <BODY> The fo llowing error occurred:<BR><BR> Unable to successfully read the request. </BODY> </ HTML> 0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>501 Method Not Implemented</TITLE> </HEAD><BODY> <H1>Method Not Implemented</H1> Amount=100&am p;From=USD&To=AUD&submit=1 to /index.shtml not supported.<P> Invalid meth od in request Amount=100&From=USD&To=AUD&submit=1<P> </BODY></HTML> __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 _______________________________________________ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm