From 918c1232e810589580a14def6397f04bc126c99b Mon Sep 17 00:00:00 2001 From: Thomas Maier Date: Sun, 26 Jan 2020 19:26:19 +0100 Subject: [PATCH] adds example for slack-compatible endpoint --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e79cf7e..22ef546 100644 --- a/README.md +++ b/README.md @@ -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.