api_token_create
POST /api/token/
Takes a set of user credentials and returns an access and refresh JSON web token pair to prove the authentication of those credentials.
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Request Body required
- email string required
- password string required
Request Body required
- email string required
- password string required
Request Body required
- email string required
- password string required
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- access string required
- refresh string required
{
"access": "string",
"refresh": "string"
}
Loading...