зеркало из https://github.com/github/docs.git
Corrected webhook delivery example (#53168)
This commit is contained in:
Родитель
ce61b81c65
Коммит
9a0e156876
|
@ -53,7 +53,7 @@ To see what each header might look like in a webhook payload, see "[Example webh
|
||||||
You can choose to have payloads delivered in JSON format (`application/json`) or as URL-encoded data (`x-www-form-urlencoded`). Following is an example of a webhook POST request that uses the JSON format.
|
You can choose to have payloads delivered in JSON format (`application/json`) or as URL-encoded data (`x-www-form-urlencoded`). Following is an example of a webhook POST request that uses the JSON format.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
> POST /payload HTTP/2
|
> POST /payload HTTP/1.1
|
||||||
|
|
||||||
> X-GitHub-Delivery: 72d3162e-cc78-11e3-81ab-4c9367dc0958{% ifversion ghes %}
|
> X-GitHub-Delivery: 72d3162e-cc78-11e3-81ab-4c9367dc0958{% ifversion ghes %}
|
||||||
> X-GitHub-Enterprise-Version: 2.15.0
|
> X-GitHub-Enterprise-Version: 2.15.0
|
||||||
|
|
Загрузка…
Ссылка в новой задаче