https://github.com/astj/webhooknotifier
https://github.com/astj/webhooknotifier
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/astj/webhooknotifier
- Owner: astj
- Created: 2017-12-14T02:02:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-14T02:43:32.000Z (over 8 years ago)
- Last Synced: 2025-04-14T06:35:58.625Z (over 1 year ago)
- Language: Perl
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage
```
curl -d 'foo' http://foobar.herokuapp.com/notify
```
Will post `{ "text": "```foo```" }` to target Webhook URL. It can be used to inspect webhook payload.
# Setup
```
heroku create --buildpack http://github.com/pnu/heroku-buildpack-perl.git --stack cedar-14
heroku config:set WEBHOOK_URL=https://hooks.slack.com/services/XXX/YYY/ZZZ
git push heroku master
```
# Monitoring
```
heroku logs
```