Last active
May 18, 2016 13:56
-
-
Save agentfitz/988f56e07e63f3abf3a1f123f650f2fe to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// our standard ajax response format (response from server) | |
{ | |
"status": 0, // 0 for failed, 1 for success | |
"detail": "ERROR_INVALID_EMAIL", // if necessary, additional detail about the error | |
"msg": "Please enter a valid email address, kind sir!" // message to present to the user | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment