cURL
curl --request GET \ --url http://localhost/api/ping \ --header 'Authorization: Bearer <token>'
{ "data": "Pong!" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Pong!