POST
/
cocart
/
jwt
/
validate-token
Validate JWT token
curl --request POST \
  --url {protocol}://{host}/cocart/jwt/validate-token \
  --header 'Authorization: Bearer <token>'
{
  "message": "Token is valid."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Token is valid

The response is of type object.