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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.