fastapi/tests/test_tutorial/test_body
Aviram Hassan b13a4baf32
Add better JSON decode error handling, improve feedback for client after invalid JSON requests (#1354)
* Request body error, raise RequestValidationError instead of HTTPException in case JSON decode failure

* add missing test case for body general exception
2020-06-13 14:33:27 +02:00
..
__init__.py ♻️ Re-format tutorials, files names and tests 2018-12-18 21:59:06 +04:00
test_tutorial001.py Add better JSON decode error handling, improve feedback for client after invalid JSON requests (#1354) 2020-06-13 14:33:27 +02:00