Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Sep : idHTTP Post output

www.cryer.info
Managed Newsgroup Archive

idHTTP Post output

Subject:idHTTP Post output
Posted by:"Rick" (ri..@lakevalleyseed.com)
Date:Tue, 5 Sep 2006 15:09:39

Indy 10.0.76
Delphi 7

I'm using an idHTTP component to POST to a UPS site for address validation.

The relevent line looks like this:

    Memo1.Lines.Add( idHTTP1.Post( 'https://wwwcie.ups.com/ups.app/xml/AV',
XML1.XML ));

I have an IOHSocket component to handle the IOHandler for SSL.

Apparently the connection is working because I get a "HTTP/1.0 200 OK"
response, however request fails with a message back from UPS that "the XML
file is not well formed" which of course it appears to be.

Is there some way to get the POST information that is being sent to the UPS
server?  I would like to see exactly what I am sending them.

Rick

Replies:

www.cryer.info
Managed Newsgroup Archive