When a user runs netlifyctl init -m they are given a webhook URL to put in place in GitHub's UI. This is pretty straightforward:
...however there is a default setting on the Content type to be "application/x-www-form-urlencoded" which doesn't at present work with our system (GitHub sends JSON with this content type, rails does not parse it successfully).
We should call this out when giving the user the webhook that the content-type should be adjusted to "application/json" and then things will just work.
When a user runs
netlifyctl init -m
they are given a webhook URL to put in place in GitHub's UI. This is pretty straightforward:...however there is a default setting on the Content type to be "application/x-www-form-urlencoded" which doesn't at present work with our system (GitHub sends JSON with this content type, rails does not parse it successfully).
We should call this out when giving the user the webhook that the content-type should be adjusted to "application/json" and then things will just work.