cURL
curl --request GET \ --url https://api.example.com/v1/gyms \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "name": "<string>" } ]
Enter your Bearer token in the format 'Bearer <token>'
Successful response