flask · flask/UnsupportedMediaType
UnsupportedMediaType
UnsupportedMediaType
The 415 response raised by request.get_json() when the request's Content-Type isn't application/json (or a variant), unless called with force=True. A frequent cause of unexpected errors on API endpoints hit without a JSON content type.
Also defined in
References
In this namespace
← previous UnprocessableEntity UnprocessableEntity
— end of namespace —