How to overwrite core validation message and code
-
How to overwrite core validation message and code. example below,
{
“code”: “rest_no_route”,
“message”: “No route was found matching the URL and request method”,
“data”: {
“status”: 404
}
}Above response need to update like,
{
“error”: “No route was found matching the URL and request method”,
}
- The topic ‘How to overwrite core validation message and code’ is closed to new replies.