diff options
author | Sarah Groff Hennigh-Palermo <sarah.groff.palermo@gmail.com> | 2019-05-16 15:51:36 +0000 |
---|---|---|
committer | Sarah Groff Hennigh-Palermo <sarah.groff.palermo@gmail.com> | 2019-05-16 15:51:36 +0000 |
commit | 8e4bc00090cab075730491cb78956009ea48e152 (patch) | |
tree | 14e8cab1cbb9e4d40e3b5e6df6d65befd561afc3 /doc/api | |
parent | 112193e8a6dea1a42e234e06244b1a20dd7d711b (diff) | |
download | gitlab-ce-8e4bc00090cab075730491cb78956009ea48e152.tar.gz |
Update API dox to save others from my mistakespatch-57
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/README.md | 2 |
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 |