Check success value in response from server.