Responses
API success and error responses
API Standard Responses
Success
Handling a response example
if (response.status == "success"){
// Do something with the data
let data = response.data;
}
else{
// Something went wrong.
console.log(response.message);
}Error
Last updated