Rest API - Error Handling
Which of the following is the correct JSON format for a human-readable error message in a REST API response?
{
"error": {
"code": 404,
"message": "Resource not found"
}
}Which of the following is the correct JSON format for a human-readable error message in a REST API response?
{
"error": {
"code": 404,
"message": "Resource not found"
}
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions