Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commita7c30f2

Browse files
committed
hooks do support form as the content_type afterall
1 parent13824ad commita7c30f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎content/v3/repos/hooks.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ takes these fields in the `config`:
125125
Name | Type | Description
126126
-----|------|--------------
127127
`url`|`string` |**Required**. The URL to which the payloads will be delivered.
128-
`content_type`|`string` | The media type used to serialize the payloads.Currently, only`json`is supported. Default:`json`
128+
`content_type`|`string` | The media type used to serialize the payloads.Supported values:`json`and`form`. Default:`form`.
129129
`secret`|`string` | If defined, then HTTP requests that deliver the payloads will include an`X-Hub-Signature` header. The value of this header is computed as the[HMAC hex digest of the body, using the`secret` as the key][hub-signature].
130130
`insecure_ssl`|`string` | Determines whether the SSL certificate of the host for`url` will be verified when delivering payloads. Supported values:`"0"` (verification is performed) and`"1"` (verification is not performed). Default:`"0"`.
131131

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp