File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,6 @@ or the [PubSubHubbub API](#pubsubhubbub).
3333
3434 POST /repos/:owner/:repo/hooks
3535
36- ### Webhook Headers
37-
38- GitHub will send along a few HTTP headers to differentiate between event types and payload identifiers.
39-
40- Name | Description
41- -----|-----------|
42- ` X-GitHub-Event ` | The [ event type] ( #events ) that was triggered.
43- ` X-GitHub-Delivery ` | A [ guid] [ guid ] to identify the payload and event being sent.
44- ` X-GitHub-Signature ` | The value of this header is computed as the HMAC hex digest of the body, using the ` secret ` config option as the key.
45-
4636### Parameter
4737
4838Name | Type | Description
@@ -141,6 +131,18 @@ This will trigger a [ping event][ping-event-url] to be sent to the hook.
141131
142132<%= headers 204 %>
143133
134+ ## Receiving Webhooks
135+
136+ ### Webhook Headers
137+
138+ GitHub will send along a few HTTP headers to differentiate between event types and payload identifiers.
139+
140+ Name | Description
141+ -----|-----------|
142+ ` X-GitHub-Event ` | The [ event type] ( #events ) that was triggered.
143+ ` X-GitHub-Delivery ` | A [ guid] [ guid ] to identify the payload and event being sent.
144+ ` X-GitHub-Signature ` | The value of this header is computed as the HMAC hex digest of the body, using the ` secret ` config option as the key.
145+
144146## PubSubHubbub
145147
146148GitHub can also serve as a [ PubSubHubbub] [ pubsub ] hub for all repositories.
You can’t perform that action at this time.
0 commit comments