21 Nov 2011
How To Examine POST Requests Using PostCatcher
A little while back I wrote about Localtunnel, a tool I use to test webhooks. Today I’d like to talk about PostCatcher, which is a superb service for examining POST requests easily.
PostCatcher allows you to create a url that serves two purposes:
-
When you POST to it, PostCatcher will record the request
-
When you GET the page in a browser, it displays the previous requests for you to examine
Investigating an unfamiliar webhook is as easy as registering your PostCatcher url to receive updates and then generating some requests. The PostCatcher page will update in real-time with the new data, allowing you to see and examine out the structure easily.
Alternatives
Before PostCatcher I used a similar service called PostBin. It’s written by progrium, who is also responsible for Localtunnel. Unfortunately I’ve found that PostBin is unavailable more often than not due to being over quota, hence the switch to PostCatcher. The latter also benefits from a slicker ui as well as login via. Github allowing you to keep track of your previously created ‘catchers’.
Thanks for reading! If you like my writing, you may be interested in my book: Healthy Webhook Consumption with Rails
David at 10:00