4 ms·
I rather have: { "responseMessage": "Reconfiguration done.", "responseCode": 133, "isSuccessful": true } This way you can map to a custom message
by giancarlostoro 3y ago
I rather have:
{
"responseMessage": "Reconfiguration done.",
"responseCode": 133,
"isSuccessful": true
}
This way you can map to a custom message on your front-end based on the responseCode whether its successful or not, you can fallback to the response message if no mapping is found, and you can easily check if the transaction was successful or not.