Confusion trying to setup GitHub webhook

ajlennon's Avatar

ajlennon

27 Oct, 2014 09:48 AM

Hi,

I'm trying to setup a webhook in GitHub to automate triggering a build on a push.

I've taken the webhook URL from the Mono project settings and added it as a webhook to GitHub.

I couldn't see where to find a "secret" so left this blank initially. When GitHub POSTs to the URL it gets a 400 error response

{"message":"Value cannot be null.\r\nParameter name: s"}

I then tried adding a dummy secret but the response is the same.

Any thoughts? Thanks,

Alex

  1. Support Staff 1 Posted by Feodor Fitsner on 27 Oct, 2014 01:49 PM

    Feodor Fitsner's Avatar

    Hi Alex,

    Webhook should have content-type: application/x-www-form-urlencoded.

    -Feodor

  2. 2 Posted by ajlennon on 27 Oct, 2014 05:12 PM

    ajlennon's Avatar

    Excellent. That's working now. Thanks

  3. ajlennon closed this discussion on 27 Oct, 2014 05:13 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac