cURL
curl --request GET \ --url https://kan.bn/api/v1/protected \ --header 'Authorization: Bearer <token>'
{ "success": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
Successful response
The response is of type object.
object