requestbin.devv1.4

requestbin.dev

inspect HTTP requests from anything that sends them

A small open-source request bin. These are the docs and the instance at once.

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

Quick start

requestbin.dev: catch HTTP requests and look at them

Make a catcher (GET or POST, no account, no key):
    curl https://www.requestbin.dev/api/bins
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://www.requestbin.dev/r/<id>
    curl -X PUT -H 'X-Test: 1' 'https://www.requestbin.dev/r/<id>/some/path?a=b'

See what arrived, newest first:
    https://www.requestbin.dev/inspect/<id>
    curl https://www.requestbin.dev/inspect/<id>?format=json
    curl https://www.requestbin.dev/inspect/<id>?format=txt

Try it

Endpoints

MethodPathDescription
ANY/api/binsCreates a bin and tells you where to send and where to look.
ANY/r/:id/*Stores the request. Method, headers, query and body are kept.
GET/inspect/: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