From 15726ed62e91c2bafdd950ccd3f2657a929a1cbe Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Thu, 28 Jul 2022 13:20:59 +0100 Subject: [PATCH] Update content/client-server-api/_index.md --- content/client-server-api/_index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/client-server-api/_index.md b/content/client-server-api/_index.md index 191aeaac..7a1f9e4d 100644 --- a/content/client-server-api/_index.md +++ b/content/client-server-api/_index.md @@ -25,7 +25,8 @@ Authentication](#client-authentication) for details). All `POST` and `PUT` endpoints, with the exception of [`POST /_matrix/media/v3/upload`](#post_matrixmediav3upload), require the 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, with the exception of 200 responses to