Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.
Ferdinand Malcher edited this page Mar 4, 2015 · 1 revision

Resources

POST /api/login

Description
  • Performs user authentication with username (uid) and password
  • returns access token that can be used for subsequent authenticated requests
    • token must be delivered in X-Access-Token header in future requests
Request Body
{
    "uid": "myuser",
    "password": "mypass"
}
Response
{
    "token": "hgZtdrfTdsjhUfZh8gt6Drse",
    "expires": 123456789123,
    "uid": "myuser"
}
Clone this wiki locally