cURL
curl --request GET \ --url http://anchored.host/api/locations \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Locations retrieved successfully!", "locations": [ { "id": "dallas", "name": "United States" } ] }
Fetches a list of all available locations.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response with locations data
true
"Locations retrieved successfully!"
Show child attributes