Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 6 commits into from
Feb 18, 2022

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