API:POST /activate

From SoFurry
Revision as of 12:46, 25 April 2016 by Tetsudra (talk | contribs) (Request)
Jump to: navigation, search

Resource URL



POST /activate
  "activate_token": "abcd1234" # Required, 8 characters

Response: Success

HTTP 200
  "result": true,
  "token": "Activated! Go ahead and log in."

If the result is TRUE, then the activation was a success. The corresponding user will now be able to log in with their username and password.

Response: Failed Login

HTTP 422
  "result": false,
  "message": "Incorrect username or password"