check response for response code, grab body and return status to app