Confirmed users
428
edits
Line 45: | Line 45: | ||
== Checking if userID/email already exists == | == Checking if userID/email already exists == | ||
Sometimes you may want to check is a particular userID or email already exists asynchronously. This requires a single GET request to https:// | Sometimes you may want to check is a particular userID or email already exists asynchronously. This requires a single GET request to https://services.mozilla.com/api/register/check/USERNAME (Replacing "USERNAME" with desired username) or https://services.mozilla.com/api/register/chkmail/EMAIL (Replacing "EMAIL" with desired email address) | ||
Analyze the returned HTTP status code and body with the help of the table below and decide on the next course of action. | Analyze the returned HTTP status code and body with the help of the table below and decide on the next course of action. |