pentestba / webhook

Easily test webhooks and other HTTP requests

Home Page:https://webhook.link

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webhook

Build Status codecov MIT licensed

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.

Usage example

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:

Demo

Installation

$ cd webhook/
$ pip3 install -r requirements.txt
$ python3 -m src

Deploy to Heroku

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

About

Easily test webhooks and other HTTP requests

https://webhook.link

License:MIT License


Languages

Language:Python 81.3%Language:HTML 18.7%