summaryrefslogtreecommitdiff
path: root/doc/api/README.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-17 15:08:37 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-17 15:08:37 +0000
commit37eff29d5ce44899e34c7c2ac319b314f2f26d15 (patch)
treeb74e1632fdb58ea10972f270bfec70a4e6ee07b0 /doc/api/README.md
parent9411a664118a3247d0a56baf7e7ef4549c1201c3 (diff)
downloadgitlab-ce-37eff29d5ce44899e34c7c2ac319b314f2f26d15.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/README.md')
-rw-r--r--doc/api/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/README.md b/doc/api/README.md
index fd1717cb67d..ef3b578f04e 100644
--- a/doc/api/README.md
+++ b/doc/api/README.md
@@ -410,7 +410,7 @@ This method is controlled by the following parameters:
In the example below, we list 50 [projects](projects.md) per page, ordered by `id` ascending.
```bash
-curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects?pagination=keyset&per_page=50&order_by=id&sort=asc"
+curl --request GET --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects?pagination=keyset&per_page=50&order_by=id&sort=asc"
```
The response header includes a link to the next page. For example: