Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Sep : Re: idHTTP Post output
| Subject: | Re: idHTTP Post output |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Tue, 5 Sep 2006 16:51:19 |
"Rick" <Rick@LakeValleySeed.com> wrote in message
news:44fde792$1@newsgroups.borland.com...
> Indy 10.0.76
That is an old version of Indy 10. Try upgrading to the latest 10.1.5
snapshot.
> The relevent line looks like this:
>
> Memo1.Lines.Add( idHTTP1.Post(
'https://wwwcie.ups.com/ups.app/xml/AV',
> XML1.XML ));
Please show a more completely snippet that actually compiles.
> I have an IOHSocket component to handle the IOHandler for SSL.
In other words, you are using TIdSSLIOHandlerSocket?
> Apparently the connection is working because I get a "HTTP/1.0
> 200 OK" response
Then there is no problem. The server is not sending back a failure reply.
> however request fails with a message back from UPS that
> "the XML file is not well formed" which of course it appears
> to be.
Please show the actual XML that you are sending, and the actual response.
> Is there some way to get the POST information that is being
> sent to the UPS server?
Use an Intercept, such as one of the TIdLog... components.
Gambit