Skip to content

Commit

Permalink
adds example for slack-compatible endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
tmsmr committed Jan 26, 2020
1 parent 6e6cac4 commit 918c123
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Check https://github.com/opthomas-prime/xmpp-webhook/blob/master/parser/ to lear

```
curl -X POST -d @grafana-webhook-alert-example.json localhost:4321/grafana
curl -X POST -d @slack-compatible-notification-example.json localhost:4321/slack
```
- After parsing the body in the appropriate `parserFunc`, the notification is then distributed to the configured receivers.

Expand Down

0 comments on commit 918c123

Please sign in to comment.