Rest API - Error Handling
Which JSON structure correctly represents a nested error for a REST API response?
{
"error": {
"message": "Invalid input",
"details": {
"field": "email",
"error": "Invalid format"
}
}
}Which JSON structure correctly represents a nested error for a REST API response?
{
"error": {
"message": "Invalid input",
"details": {
"field": "email",
"error": "Invalid format"
}
}
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions