Webhook is an open source project available at https://webhook.link.
It allows you to easily test webhooks and other HTTP requests and log their attributes and payloads.
This projects generates random ephemeral routes like /3989c985-0659-4c2d-b38f-9d83d74fe0bb
.
You can send any HTTP request to the route, for example:
curl -X POST https://webhook.link/3989c985-0659-4c2d-b38f-9d83d74fe0bb \
-H "Content-Type: application/json" \
-H "X-MyHeader: 123" \
-d '{"hello": "world", "is_true": true}'
And the result will be available on /3989c985-0659-4c2d-b38f-9d83d74fe0bb/inspect
:
$ cd webhook/
$ pip3 install -r requirements.txt
$ python3 -m src
create project on Heroku
you must have Heroku CLI and Git installed in your computer
$ git clone https://github.com/pentestba/webhook.git
$ heroku login
$ cd webhook/
$ git init
$ heroku git:remote -a yourHerokuProjectName
Deploy the code and changes you make:
$ git add .
$ git commit -am "make it better"
$ git push heroku master // if this dont work use this: $ git push heroku HEAD:master