Labs/Weave/ServerAPI: Difference between revisions

Jump to navigation Jump to search
Line 43: Line 43:
HTTP 200 OK means the password was changed successfully. If you get a different status code, analyze the body with the help of the table below and decide on the next course of action.
HTTP 200 OK means the password was changed successfully. If you get a different status code, analyze the body with the help of the table below and decide on the next course of action.


== Checking if userID/email already exists ==
== Checking if Username/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://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)
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)
Confirmed users
428

edits

Navigation menu