summaryrefslogtreecommitdiff
path: root/doc/api/namespaces.md
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-08-12 17:23:19 -0500
committerDouwe Maan <douwe@selenight.nl>2016-08-12 17:23:19 -0500
commitc770201061c5d39e6e297951badfafc8ddf14906 (patch)
tree72da00c88358d605f33c983945dd7e1565956c47 /doc/api/namespaces.md
parent9d9b7212bc5fe04e64a0a034a412f5d92cc96151 (diff)
parent11eefba891f214eefc1efa334adbcc9e979c0ce3 (diff)
downloadgitlab-ce-c770201061c5d39e6e297951badfafc8ddf14906.tar.gz
Merge branch 'master' into diff-line-comment-vuejs
Diffstat (limited to 'doc/api/namespaces.md')
-rw-r--r--doc/api/namespaces.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/namespaces.md b/doc/api/namespaces.md
index 42d9ce3d391..88cd407d792 100644
--- a/doc/api/namespaces.md
+++ b/doc/api/namespaces.md
@@ -19,7 +19,7 @@ GET /namespaces
Example request:
```bash
-curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/namespaces
+curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/namespaces
```
Example response:
@@ -54,7 +54,7 @@ GET /namespaces?search=foobar
Example request:
```bash
-curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/namespaces?search=twitter
+curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/namespaces?search=twitter
```
Example response: