summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-09-22 09:13:03 +0200
committerMS <ms@taler.net>2023-09-22 09:13:03 +0200
commit4507cc6a254a1c20e66e9fd152a13693f8f282e9 (patch)
treed5004db4569988b1e71179f94f713a0b14067562
parentd5a4b6e5c2510579b6d2a9eb93856cc508827639 (diff)
downloaddocs-4507cc6a254a1c20e66e9fd152a13693f8f282e9.tar.gz
docs-4507cc6a254a1c20e66e9fd152a13693f8f282e9.tar.bz2
docs-4507cc6a254a1c20e66e9fd152a13693f8f282e9.zip
Adding 415 response case to common API.
-rw-r--r--core/api-common.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index 2af9cfea..64cc7f33 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -71,6 +71,8 @@ handle the error as if an internal error (500) had been returned.
requests.
:http:statuscode:`400 Bad request`:
One of the arguments to the request is missing or malformed.
+ :http:statuscode:`415 Unsupported Media Type`:
+ The Content-Type header was not set, or it was set to an unsupported MIME type.
:http:statuscode:`500 Internal server error`:
This always indicates some serious internal operational error of the exchange,
such as a program bug, database problems, etc., and must not be used for