GET TOKEN

POST /api/token

Example
curl -d "user_id=instructor&password=instructor" -X POST http://192.168.56.111/api/token
Parameters
Field Type Description
user_id String

User's unique ID.

password String

User's password.

Success
Field Type Description
token String

Access token for the user.

Error
Type Message
AuthenticationException

Could not login using that user id or password.

InvalidArguments

Cannot leave user id or password blank.