You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stephen Li edited this page Oct 31, 2015
·
2 revisions
This page details how to authenticate with the API server. Presently, every endpoint except /auth/signup and /auth/logout requires authentication. Any unauthenticated requests to any other endpoints will return a 401 error.
The API server uses token-based authentication. Any authenticated requests must be made with the Authorization header with the format Token {actual_token}. For example:
Invalidates the user's current token on the server. Returns 200 if provided token is authenticated and a JSON body that describes whether or not the operation was successful.