cURL
curl --request PATCH \ --url https://api.offlineprotocol.com/api/v1/profiles/{username}/location \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "latitude": 35.6676, "longitude": 64.66 } '
{ "data": "<unknown>" }
Updates location for a user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
35.6676
64.66
Location updated