I made a thing: a tiny webhook tester

Nov 11, 2017 • nk

Wrote this on a train. It has been running ever since. It does one thing: it gives you a URL, keeps whatever is sent to it, and shows it to you. I use it when a webhook provider swears they sent something and my logs say otherwise.

How to use it

webhook-test.io: catch HTTP requests and look at them

Make a catcher (GET or POST, no account, no key):
    curl https://www.webhook-test.io/create
The answer is JSON with "url" and "inspect_url".

Whatever is sent to the first URL is kept, with any method, any path below it and any body:
    curl -d 'hello' https://www.webhook-test.io/test/<id>
    curl -X PUT -H 'X-Test: 1' 'https://www.webhook-test.io/test/<id>/some/path?a=b'

See what arrived, newest first:
    https://www.webhook-test.io/results/<id>
    curl https://www.webhook-test.io/results/<id>?format=json
    curl https://www.webhook-test.io/results/<id>?format=txt

Or click the button and it will make one for you:

Bins don't expire. I'll add that when the disk fills up.

Update: a few people asked for a JSON view. It's there now, see above.

Older posts