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

setting content type for github webhook #11

Closed
wants to merge 2 commits into from
Closed

setting content type for github webhook #11

wants to merge 2 commits into from

Conversation

biw
Copy link
Owner

@biw biw commented Mar 17, 2021

GitHub sends webhooks with an "application/x-www-form-urlencoded" by default, but this crashes the nuts server because it's excepting the content type to be "application/json". There's a dropdown to change the content type, but since there's no error message in the Heroku logs it was a little tricky to track down why the webhook wasn't working:

github config

It'd be helpful to include this information in the docs so others don't get blocked by the same problem.

From GitbookIO/nuts#145

@biw
Copy link
Owner Author

biw commented Mar 17, 2021

This issue was fixed in #1

@biw biw closed this Mar 17, 2021
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.

2 participants