formatters: also get headers

This commit is contained in:
Guilhem Saurel 2021-08-27 20:05:08 +02:00
parent ac7d1d9647
commit 4bcdb25c80
3 changed files with 10 additions and 4 deletions

View file

@ -79,9 +79,13 @@ curl -d '{"body":"new contrib from toto: [44](http://radio.localhost/map/#44)",
```
(or localhost:4785 without docker)
### Grafana
### For Github
Add a webhook with an URL like ending with `?formatter=grafana&key=API_KEY'
Add a JSON webhook with `?formatter=github`, and put the `API_KEY` as secret
### For Grafana
Add a webhook with an URL ending with `?formatter=grafana&key=API_KEY'
## Test room