Thursday, 25 May 2017

Correct way to display error when `NO DATA FOUND`

Please help me with the correct response to display when there is no data

{
  "success": false,
  "message": "No data found",
}

OR

{
  "success": true,
  "message": "No data found",
  "data": null
}



via Nitesh

No comments:

Post a Comment