Skip to Content
Vuesho

Check a bearer token

Responds with the token when the request has an `Authorization` header with a bearer token.

GET
/bearer

Authorization

bearer
headerAuthorizationBearer <token>

Any token works.

Response Body

The token is present.

application/json
  1. response
authenticated*boolean
token*string
Example Request
curl -X GET 'https://httpbin.org/bearer'
Example Response
{
  "authenticated": true,
  "token": "string"
}