How to complete the challenge PUT /todos/{id} not found (404)
Issue a PUT request to /todos/{id} where the URL id does not exist, and do not include an id in the request body.
This is an update attempt against a specific URL resource. Since that resource does not exist, the response should be 404 Not Found.
Basic Instructions
- Send
PUT /todos/{id}where{id}does not exist - Add an
X-CHALLENGERheader to track challenge completion - Set
Content-Typetoapplication/json - Do not include an
idfield in the JSON payload - Include a valid
title - Verify the response status is
404
Example body:
{
"title": "missing todo",
"doneStatus": false,
"description": "URL id does not exist"
}