Better JSON webhook result description

This commit is contained in:
Xanders 2021-02-26 21:40:45 +03:00 committed by crypto_rahino
parent 1f54264a89
commit 6e2a5212c5

View File

@ -53,7 +53,7 @@ You can set the POST body format to Form-Encoded (default) or JSON-Encoded. Use
}, },
``` ```
The result would be e.g. `Status: running` message in the Mattermost channel. The result would be POST request with e.g. `{"text":"Status: running"}` body and `Content-Type: application/json` header which results `Status: running` message in the Mattermost channel.
Different payloads can be configured for different events. Not all fields are necessary, but you should configure at least one of the dicts, otherwise the webhook will never be called. Different payloads can be configured for different events. Not all fields are necessary, but you should configure at least one of the dicts, otherwise the webhook will never be called.