Skip to content

Instantly share code, notes, and snippets.

@awaxa
Created August 20, 2014 03:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awaxa/61d6114b94e23936328c to your computer and use it in GitHub Desktop.
Save awaxa/61d6114b94e23936328c to your computer and use it in GitHub Desktop.
curl -i -H "Authorization: token deadbeef" https://api.github.com/repos/awaxa/diabot/hooks
curl -i -H "Authorization: token deadbeef" https://api.github.com/repos/awaxa/diabot/hooks/2832846
curl -i -H "Authorization: token deadbeef" -X PATCH -d '{"events":["*"]}' https://api.github.com/repos/awaxa/diabot/hooks/2832846
curl -i -H "Authorization: token deadbeef" -X POST https://api.github.com/repos/awaxa/diabot/hooks/2832846/tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment