Update content/client-server-api/_index.md

This commit is contained in:
Richard van der Hoff 2022-07-28 13:20:59 +01:00 committed by GitHub
parent 5ee403a51d
commit 15726ed62e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,8 @@ Authentication](#client-authentication) for details).
All `POST` and `PUT` endpoints, with the exception of All `POST` and `PUT` endpoints, with the exception of
[`POST /_matrix/media/v3/upload`](#post_matrixmediav3upload), require the [`POST /_matrix/media/v3/upload`](#post_matrixmediav3upload), require the
client to supply a request body containing a (potentially empty) JSON object. client to supply a request body containing a (potentially empty) JSON object.
Clients are *not* required to supply a `Content-Type` header. Clients should supply a `Content-Type` header of `application/json` for all requests with JSON bodies,
but this is not required.
Similarly, all endpoints require the server to return a JSON object, Similarly, all endpoints require the server to return a JSON object,
with the exception of 200 responses to with the exception of 200 responses to