Update API dox to save others from my mistakes

This commit is contained in:
Sarah Groff Hennigh-Palermo 2019-05-16 15:51:36 +00:00
parent 112193e8a6
commit 8e4bc00090
1 changed files with 2 additions and 0 deletions

View File

@ -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