Files
services/examples/routing/route/curl/gpsPointsForARoute.sh

13 lines
286 B
Bash
Executable File

curl "http://localhost:8080/routing/Route" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"destination": {
"latitude": 52.529407,
"longitude": 13.397634
},
"origin": {
"latitude": 52.517037,
"longitude": 13.38886
}
}'