hookserve
hookserve copied to clipboard
400 Bad Request - Unknown Event Type ping
When testing the webhook, I was stopped for the longest time (when pushing redeliver in /settings/hooks/ by:
"400 Bad Request - Unknown Event Type ping"
Here were the headers github was sending:
Request URL: https://www.fedarch.org/postreceive
Request method: POST
content-type: application/json
Expect:
User-Agent: GitHub-Hookshot/375c44e
X-GitHub-Delivery: 52f42380-1b3f-11e6-9257-8dd603170ea9
X-GitHub-Event: ping
X-Hub-Signature: sha1=ef1fb6ca9130da77f35f2b64a6d9af3a8af481f1