A successful response from the server will look like this:
{
"status": "OK",
"message": "Message for the developer",
"data": {
"All the data from server will be here"
}
}
An error response from the server will look like this:
{
"status": "error",
"error": "Error Message for the developer",
}