3 ms·
There's a more API friendly endpoint to do this that returns a nice JSON response, like this: {"input01":{"Valid":"false","ErrorMessage":"That username is ta
by tyingq 10y ago
There's a more API friendly endpoint to do this that returns a nice JSON response, like this:
{"input01":{"Valid":"false","ErrorMessage":"That username is taken. Try another.","Errors":{"GmailAddress":"That username is taken. Try another."},"ErrorData":[""]},"Locale":"en"}
See: https://gist.github.com/saml/2268291 https://gist.github.com/saml/2268291
- nailer 10y agoChecked and it still works too. Ported to node and added to: https://github.com/mikemaccana/is-gmail-account-valid https://github.com/mikemaccana/is-gmail-account-valid