Hi,
do we always need to make http response code 200 for every api response? Please help. Also what will be the multiple validation response for rest api?
@tisuchi Thank You. Is this validation response fine for rest api?
{
"errors": {
"email": [
"The email field is required."
],
"password": [
"The password field is required."
]
},
"status_code": 422,
"message": "The given data failed to pass validation."
}