Check what comes in

Your task In the code box, check POST /tasks: bad JSON gives 400 { "error": "The body is not valid JSON" }; a bad title gives 400 { "error": "title must be 1 to 100 characters", "field": "title" }; a bad priority gives 400 { "error": "priority must be low, normal or high", "field": "priority" }. A good task is saved and answered with 201. Then press Run my code.

Getting the editor ready