Endpoint Refresh
Endpoint Refresh
This endpoint allows you to refresh a previously obtained JWT token (with its refresh token associated).
Method: POST
Content-Type: application/json
Path: api/token/refresh/
Payload: {
refresh: string
}
Answer: {
access: string
}
Use of Token for Endpoint Consumption
By obtaining a valid authentication token, the query can be made to the rest of the endpoints by adding the following header:
{
Authorization: Bearer token
}
For example, if the token is token1234, it must be sent in the header:
{
Authorization: Bearer token1234
}