postcatcher.xyz

A URL that writes down every request. I kept spinning up netcat to see what a service was sending me. Now I don't.

Weekend project. Feedback welcome, fixes less likely.

Use it from a terminal

postcatcher.xyz: catch HTTP requests and look at them

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

See what arrived, newest first:
    https://www.postcatcher.xyz/see/<id>
    curl https://www.postcatcher.xyz/see/<id>?format=json
    curl https://www.postcatcher.xyz/see/<id>?format=txt

Details