summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-30 22:42:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-30 22:42:13 +0000
commitd455bcf1e412ab4a4abdfbe691fc40e3d4a0ce8a (patch)
tree05455701cc0a4a220d3c1e089b39a01a310aa2a2 /doc
parentb8cacd68a6297f2c6cdd454a3d82a487367f2e70 (diff)
downloadgitlab-ce-d455bcf1e412ab4a4abdfbe691fc40e3d4a0ce8a.tar.gz
Add latest changes from gitlab-org/security/gitlab@13-10-stable-ee
Diffstat (limited to 'doc')
-rw-r--r--doc/api/system_hooks.md4
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: