~jtv / stuff / webhookfarm

1. Name

webhookfarm - fresh hooks daily

2. Synopsis

Webhook Farm: catch HTTP requests and look at them

Make a catcher (GET or POST, no account, no key):
    curl https://www.webhook.farm/api/plant
The answer is JSON with "hook_url" and "log_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.farm/<id>
    curl -X PUT -H 'X-Test: 1' 'https://www.webhook.farm/<id>/some/path?a=b'

See what arrived, newest first:
    https://www.webhook.farm/harvest/<id>
    curl https://www.webhook.farm/harvest/<id>?format=json
    curl https://www.webhook.farm/harvest/<id>?format=txt

3. Description

Grown locally, picked by hand, never frozen. A replacement for the shell script that used to do this, which fell over whenever two people used it at once.

4. Files

~jtv/public_html/webhookfarm/   this page
~jtv/webhookfarm.count   the counter, at present 2 catchers made

5. Bugs

Binary bodies are shown in base64, which nobody can read.
Very large bodies are cut short.
Headers are shown in the order they arrived, which is not always the order you sent them.

6. Todo

7. See also

reqdump(1), hookd(8) (not written yet), motd-www(8), bins(5)


jtv@quartz   (webhook.farm)
Computing support, room 3.26. Tickets before visits, please.

Last modified: Sun Jan 9 02:36:12 2000 by jtv.  Copyright (c) 1998.  This page is valid HTML 2.0, or was.