This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Every API should have the following format, more info at https://labs.omniti.com/labs/jsend */ | |
/* Every POST should receive FORM DATA, not httpBody, or anything or sorts*/ | |
{ | |
"status" : "success", | |
"data": { | |
/* data goes here */ | |
}, | |
"message": null /* if status is false, error message goes here */ | |
} |