Open reivilibre opened 3 months ago
Other PUT and POST requests except for media upload take a JSON request body, even if that's just {}.
{}
For some reason /logout is an exception to this, although it's not clear why or whether this is just an accident.
/logout
Area: https://spec.matrix.org/v1.8/client-server-api/#post_matrixclientv3logout
I think it's an accident. The original synapse impl just didn't check if there was a body, and then clients started relying on that.
Other PUT and POST requests except for media upload take a JSON request body, even if that's just
{}
.For some reason
/logout
is an exception to this, although it's not clear why or whether this is just an accident.Area: https://spec.matrix.org/v1.8/client-server-api/#post_matrixclientv3logout