Difference between revisions of "API:POST /login"

From SoFurry
Jump to: navigation, search
(Created page with "= Resource URL = https://api.sofurrybeta.com/login = Request = POST /login { "username": "bobthefurry", "password": "fluggysnuggles" } = Sample Response = HTTP...")
 
Line 7: Line 7:
 
  POST /login
 
  POST /login
 
  {
 
  {
   "username": "bobthefurry",
+
   "email": "bob@example.org",
   "password": "fluggysnuggles"
+
   "password": "hunter2"
 
  }
 
  }
  

Revision as of 12:36, 25 April 2016

Resource URL

https://api.sofurrybeta.com/login

Request

POST /login
{
  "email": "bob@example.org",
  "password": "hunter2"
}

Sample Response

HTTP 200
{
  "token": "..."
}