Jump to content

Display HTTPS POST Output of curl_exec?


consultant1027

Recommended Posts

I'm testing a PHP app that uses the curl_exec to do an HTTPS POST to a website.  The website is returning an error, thinking that I'm submitting a SOAP envelope instead of a regular HTTPS POST request, even though the Content-Type of the POST is application/x-www-form-urlencoded.  I don't have control of the website I am posting to and want quicker turnaround on debug information.

 

I doubt there is a way to force the curl_exec to simply echo everything it is POSTing to the server so I can see the headers and data?

 

If not, does anyone know of a website I can point to that will accept and HTTPS POST and simply display everything in the POST for me?

 

Link to comment
https://forums.phpfreaks.com/topic/46136-display-https-post-output-of-curl_exec/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.