diff options
author | GitLab Release Tools Bot <delivery-team+release-tools@gitlab.com> | 2021-03-31 19:41:24 +0300 |
---|---|---|
committer | GitLab Release Tools Bot <delivery-team+release-tools@gitlab.com> | 2021-03-31 19:41:24 +0300 |
commit | 38b3003b67db3f2eadfa81fd28b13d168f665766 (patch) | |
tree | be836d10a991163527d2e349ff1e770276ecbea2 /doc | |
parent | b2ce3643e27db4cc0ad30cc09d651c00ec799887 (diff) | |
parent | c93927607f55350f2e2af4bdaf03ff9dba80ab1d (diff) |
Merge remote-tracking branch 'dev/13-10-stable' into 13-10-stable
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/system_hooks.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/system_hooks.md b/doc/api/system_hooks.md index 855436864cc..3348157129d 100644 --- a/doc/api/system_hooks.md +++ b/doc/api/system_hooks.md @@ -88,7 +88,7 @@ Example response: ## Test system hook ```plaintext -GET /hooks/:id +POST /hooks/:id ``` | Attribute | Type | Required | Description | @@ -98,7 +98,7 @@ GET /hooks/:id Example request: ```shell -curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/hooks/2" +curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/hooks/1" ``` Example response: |