Skip to content
Advertisement

How do I debug a webhook POST?

A webhook is sending me a POST, and I want to do some debugging on it. Currently I’m looping over the array and then sending a mail() to myself instead of printing (because how could I see what’s printed to the page?), but I’m betting there’s a more efficient way.

Any suggestions?

Advertisement

Answer

https://requestbin.com/ lets you create a temporary URL that will show you all the HTTP request data sent to it.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement