Skip to content

Conversation

@ShakibCodes
Copy link

This updates the "Receiving JSON in Views" section to correctly distinguish between:

  • 400 Bad Request: raised when the body is not valid JSON
  • 415 Unsupported Media Type: raised when the Content-Type header is not application/json

This aligns the documentation with Flask's actual behavior and makes it clearer for users.

@davidism davidism closed this Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants