1. Check Token
Used during development to validate if a token is working correctly.
Endpoints
- /check-token
Method: GET
Requires Authentication: YES
Comments
In order to be authenticated, the header "Authorization" with the JSON Web Token must be sended.
The header value needs to start with "Bearer " + token.
For example, a correct header would be:
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiO....
Responses
-
Token validated
Status code: 200
-
Token not provided
Status code: 400
-
Invalid authentication token
Status code: 400
-
Authentication token expired
Status code: 400