https://github.com/gobeli/webhook-debounce
https://github.com/gobeli/webhook-debounce
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gobeli/webhook-debounce
- Owner: gobeli
- Created: 2020-01-31T14:32:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T16:00:01.000Z (over 3 years ago)
- Last Synced: 2025-04-08T08:53:24.255Z (about 1 year ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webhook Debouncer
[https://hub.docker.com/repository/docker/gobeli/webhook-debounce](https://hub.docker.com/repository/docker/gobeli/webhook-debounce)
Debounces webhooks to ensure not to many requests are sent.
Created mainly for Gitlab CI and static site generators, but can be used for anything.
## Request
```
POST
Host: {Your Hostname}:{Port (defined with env variable PORT)}
Content-Type: application/json
{
"url": "{webhook url}",
"method": "method to call webhook",
"headers": {
"X-API-KEY": "{send API key as header}"
}
}
```