hookcatchv0.9

hookcatch

a request bin you can read from scripts

An open-source request bin with a JSON API first and a page second.

Note  No account and no key. Anything you send is readable by anyone who has the bin's id.

Quick start

hookcatch: catch HTTP requests and look at them

Make a catcher (GET or POST, no account, no key):
    curl https://hookcatch.co/api/endpoints
The answer is JSON with "webhook_url" and "dashboard_url".

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

See what arrived, newest first:
    https://hookcatch.co/endpoints/<id>
    curl https://hookcatch.co/endpoints/<id>?format=json
    curl https://hookcatch.co/endpoints/<id>?format=txt

Try it

Endpoints

MethodPathDescription
ANY/api/endpointsCreates a bin and tells you where to send and where to look.
ANY/e/:id/*Stores the request. Method, headers, query and body are kept.
GET/endpoints/:idLists the last 100 requests, newest first. Add .json or .txt.

Reading requests

The page view refreshes itself every 20 seconds. ?format=json returns the same list for scripts.

Self-hosting

Coming with the 1.x docs. See the changelog.

FAQ

How long are requests kept?
There is no expiry yet.

Is there a size limit?
Bodies over 256 KB are shown cut.

Changelog