auth

POST /auth/login/

Check the credentials and return the REST Token if the credentials are valid and authenticated. Calls Django Auth login method to register User ID in Django session framework

Accept the following POST parameters: username, password Return the REST Framework Token Object's key.

Request

  • Base URL
    http://api.footballchallengeapp.com
  • URL
    http://api.footballchallengeapp.com/auth/login/
  • Auth
    HTTP basic

Request body

usernamestring
emailstring email required
passwordstring required

Response

Created

usernamestring
emailstring email required
passwordstring required

Changes

No recorded changes to this operation across all 159 revisions of this API.