https://github.com/gabfl/webhook
Easily test webhooks and other HTTP requests
https://github.com/gabfl/webhook
python3 sqlite webhook-service webhooks
Last synced: about 2 months ago
JSON representation
Easily test webhooks and other HTTP requests
- Host: GitHub
- URL: https://github.com/gabfl/webhook
- Owner: gabfl
- License: mit
- Created: 2019-01-05T01:30:48.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-05-08T21:26:01.000Z (about 2 years ago)
- Last Synced: 2025-03-24T12:12:31.327Z (2 months ago)
- Topics: python3, sqlite, webhook-service, webhooks
- Language: Python
- Homepage: https://webhook.link
- Size: 1.05 MB
- Stars: 17
- Watchers: 4
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webhook
[](https://github.com/gabfl/webhook/actions)
[](https://codecov.io/gh/gabfl/webhook)
[](https://raw.githubusercontent.com/gabfl/webhook/main/LICENSE)Webhook is an open source project available at [https://webhook.link](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:
```bash
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 `/inspect/3989c985-0659-4c2d-b38f-9d83d74fe0bb`:

## Installation
```bash
$ cd webhook/
$ pip3 install -r requirements.txt
$ python3 -m src
```## Try it out in docker
* Build the image: `docker build webhook:latest .`
* Run the image: `docker run -it --rm -p 5000:5000 webhook:latest`
* [Open in browser](http://localhost:5000)