input : [{"id":1091468,"name":"shriyashree tiwari","email":"[email protected]","gender":"female","status":"active"}]
output:[ { "field": "email", "message": "can't be blank" }, { "field": "name", "message": "can't be blank" }, { "field": "gender", "message": "can't be blank, can be male of female" }, { "field": "status", "message": "can't be blank" } ]
input : {"id":1091468,"name":"shriyashree tiwari","email":"[email protected]","gender":"female","status":"active"}
input should be object not array
hello
Iam getting the same status 422, but getting corect output
Please share the payload and result jsons