summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2019-05-21 09:07:30 +0000
committerDouwe Maan <douwe@gitlab.com>2019-05-21 09:07:30 +0000
commit5c836c15ef9301769dbde60f6e5c84838d59bbae (patch)
tree46455103e4aaa0cdeb0afcc147888553426583d7
parenta5f810c9b18d63778a9cd5dc1d2c288e68b1497a (diff)
parent8e4bc00090cab075730491cb78956009ea48e152 (diff)
downloadgitlab-ce-5c836c15ef9301769dbde60f6e5c84838d59bbae.tar.gz
Merge branch 'patch-57' into 'master'
Update API dox to save others from my mistakes See merge request gitlab-org/gitlab-ce!28368
-rw-r--r--doc/api/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/README.md b/doc/api/README.md
index 7ec7955c596..439f58c1253 100644
--- a/doc/api/README.md
+++ b/doc/api/README.md
@@ -186,6 +186,8 @@ curl "https://gitlab.example.com/api/v4/projects"
The API uses JSON to serialize data. You don't need to specify `.json` at the
end of an API URL.
+All of the API endpoints that use the `POST`, `PUT` or `PATCH` method support params in the request body, with `Content-Type` `application/x-www-form-urlencoded`, `multipart/form-data` or `application/json`.
+
## Authentication
Most API requests require authentication, or will only return public data when