Files
services/examples/location/search/curl/searchForLocations.sh

12 lines
267 B
Bash
Executable File

curl "http://localhost:8080/location/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"center": {
"latitude": 51.511061,
"longitude": -0.120022
},
"numEntities": 10,
"radius": 100,
"type": "bike"
}'