David, I have changed the code !again! and I am now getting the following error. 400 (Bad Request) Library does not allow method HTTP::Request=HASH(0x8061330) for 'http:' URLs Client-Date: Fri, 15 Nov 2002 20:41:59 GMT =========================== $ua = new LWP::UserAgent; $hr = HTTP::Headers -> new(Content_Type => 'text/html'); $request = new HTTP::Request (POST,'http://www.travelnow.com/external/xmlinterface.jsp',$hr,$appendURL); $response = $ua->request($request); print $response->as_string () ; =========================== I'm about burnt out for the day ;-) Mac
-----Original Message----- From: Wagner, David --- Senior Programmer Analyst --- WGO [mailto:David.Wagner@;freight.fedex.com] Sent: Friday, November 15, 2002 2:22 PM To: Mac Rost; [EMAIL PROTECTED] Subject: RE: failure notice Since you have single quotes around the http, then the $appendURL will not expand. Wags ;) -----Original Message----- From: Mac Rost [mailto:mrost@;travelnow.com] Sent: Friday, November 15, 2002 11:13 To: [EMAIL PROTECTED] Subject: RE: failure notice All: Well I have change some of the code and here's the change: ================================== $ua =3D new LWP::UserAgent; $request =3D new HTTP::Request POST = 'http://www.travelnow.com/external/xmlinterface.jsp$appendURL'; $response =3D $ua->request($request); print $response->as_string () ; =================================== Now I get 400 (Bad Request) URL missing Any ideas? Mac Rost Affiliate Relations/XML Developer TravelNow.com a wholly owned subsidiary of=20 Hotel Reservations Network mailto:xml@;travelnow.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ********************************************************** This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. **************************************************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]