Labs/Weave/ServerAPI: Difference between revisions

Line 38: Line 38:
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.


== Checking in userID already exists ==
== Checking if userID already exists ==


Sometimes you may want to check is a particular userID already exists asynchronously. This requires a single GET request to https://sm-labs01.mozilla.org:81/register/check/<username> (Replacing <username> with desired username).
Sometimes you may want to check is a particular userID already exists asynchronously. This requires a single GET request to https://sm-labs01.mozilla.org:81/register/check/<username> (Replacing <username> with desired username).
Confirmed users
188

edits