[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPAPI 1.11 pre-release - no data received with POST



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


Hi Eric,


O.K. the good news is now I've got complete XML data to send to my vendor. i.e. my previous post. The bad news is my Vendor tells me that don't receive any of it with the "post" method?

Your previous examples have all used the GET method. To use POST, you have to call a different API (one of the ones of the http_url_post_xxx family). You'll also have to send the data a little bit differently.


They have a "debug" site that I can "post" to it returns the following message to me...
[SNIP]
Parsed post variables: None<br />

Am I allowed to use this debug site to see what's happening? Or, can you tell me how to reproduce the problem?


As you've discovered, when I try it with my own server, it works.

The "get" method is working perfectly! I guess I will use it and be happy. Unless I run into problems with the length restriction. They say their preferred method is the "post".

Yes, unless the vendor absolutely requires GET, I'd always use POST. It's just a better way to do it.


The question is, what's not working? Please tell me how to reproduce the problem if possible.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------