Confusion trying to setup GitHub webhook

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. Hi Alex,

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

    -Feodor

  2. 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