taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 4507cc6a254a1c20e66e9fd152a13693f8f282e9
parent d5a4b6e5c2510579b6d2a9eb93856cc508827639
Author: MS <ms@taler.net>
Date:   Fri, 22 Sep 2023 09:13:03 +0200

Adding 415 response case to common API.

Diffstat:
Mcore/api-common.rst | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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