diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-31 01:42:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-31 01:42:13 +0300 |
commit | d455bcf1e412ab4a4abdfbe691fc40e3d4a0ce8a (patch) | |
tree | 05455701cc0a4a220d3c1e089b39a01a310aa2a2 /doc/api | |
parent | b8cacd68a6297f2c6cdd454a3d82a487367f2e70 (diff) |
Add latest changes from gitlab-org/security/gitlab@13-10-stable-ee
Diffstat (limited to 'doc/api')
-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: |