Skip to content

Commit

Permalink
added required change of Content type
Browse files Browse the repository at this point in the history
otherwise the delivery would fail with unsupported Content-Type application/x-www-form-urlencoded
  • Loading branch information
durandom authored Dec 7, 2017
1 parent c457001 commit 517019c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ Since OpenShift V3 does not provide a git repository out of the box, you can con
2. Click on Browse > Builds
3. From the view for your Build click on the link to display your GitHub webhook and copy the url.
4. Navigate to your repository on GitHub and click on repository settings > webhooks
5. Paste your copied webhook url provided by OpenShift - Thats it!
6. After you save your webhook, if you refresh your settings page you can see the status of the ping that Github sent to OpenShift to verify it can reach the server.
5. Paste your copied webhook url provided by OpenShift
6. Change the Content type to `application/json` - Thats it!
7. After you save your webhook, if you refresh your settings page you can see the status of the ping that Github sent to OpenShift to verify it can reach the server.

### License
This code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to [CC0](http://creativecommons.org/publicdomain/zero/1.0/).

0 comments on commit 517019c

Please sign in to comment.