I made a thing: a bin for hooks

Jan 27, 2016 • ro

Every few months somebody asks me what a webhook actually sends. This is my answer. 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

hookbin.net: catch HTTP requests and look at them

Make a catcher (GET or POST, no account, no key):
    curl https://www.hookbin.net/new
The answer is two lines: the URL to send to, and the URL that shows what arrived.

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

See what arrived, newest first:
    https://www.hookbin.net/inspect/<id>
    curl https://www.hookbin.net/inspect/<id>?format=json
    curl https://www.hookbin.net/inspect/<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