How to complete the challenge PUT /todos/{id} no title (422)
Issue a PUT request to an existing todo and omit the mandatory title field.
The response should be 422 Unprocessable Content because the request body is valid JSON, but the replacement todo fails validation.
Look for the validation message containing:
title : field is mandatory
Try it now
If you don't know what todos are available then you can check by GET /todos. See the solution.
GET /todos to see what todos are available now
If you have already deleted all todos, create one using POST /todos. See the solution.