Missing resource
Test the empty or missing-state your app shows when a record cannot be found.
Use it when a route needs an empty or missing-state screen.
View payload and cURL
Headers
none
Body
{
"error": "not_found",
"message": "The thing you asked for was not found."
}
Create with cURL
curl -i 'https://stubpoint.dev/api/endpoints' -H 'Content-Type: application/json' -d '{
"body": "{\"error\":\"not_found\",\"message\":\"The thing you asked for was not found.\"}",
"content_type": "application/json",
"headers": null,
"methods": [
"GET"
],
"status": 404
}'