Difference between revisions of "API:POST /activate"
(Created page with "= Resource URL = https://api.sofurrybeta.com/activate = Request = POST /activate { // Required, 8 characters "activate_token": "abcd1234" } = Response: Success =...") |
(→Request) |
||
Line 7: | Line 7: | ||
POST /activate | POST /activate | ||
{ | { | ||
− | + | "activate_token": "abcd1234" # Required, 8 characters | |
− | "activate_token": "abcd1234" | ||
} | } | ||
Revision as of 12:46, 25 April 2016
Resource URL
https://api.sofurrybeta.com/activate
Request
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" }