Thanks to visit codestin.com
Credit goes to github.com

Skip to content

updated: Support for application/json in incoming webhook#2161

Merged
mastercactapus merged 6 commits intomasterfrom
pr-2093-json-webhook-2
Feb 18, 2022
Merged

updated: Support for application/json in incoming webhook#2161
mastercactapus merged 6 commits intomasterfrom
pr-2093-json-webhook-2

Conversation

@mastercactapus
Copy link
Member

Description:
This is #2093 with the requested changes applied.

Fixes #2092

@Forfold Forfold self-requested a review February 17, 2022 21:32
Copy link
Contributor

@Forfold Forfold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Functionally tested by creating a Webhook contact method using https://webhook.site, then created a generic API alert using Postman, setting the Content-Type header to application/json, and sending a body of {"summary": "json"} as the unit test does.

@mastercactapus mastercactapus merged commit 1d516b9 into master Feb 18, 2022
@mastercactapus mastercactapus deleted the pr-2093-json-webhook-2 branch February 18, 2022 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Supporte 'application/json' content type in incoming webhook

4 participants