cURL
curl --request POST \ --url https://serengo.zias.be/api/locations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "latitude": 123, "longitude": 123, "locationName": "<string>" } '
{ "id": "<string>", "latitude": 123, "longitude": 123, "name": "<string>", "averageRating": 123, "findCount": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Location created