Files
services/examples/evchargers/search/curl/searchByBoundingBox.sh

16 lines
384 B
Bash
Executable File

curl "http://localhost:8080/evchargers/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"box": {
"bottom_left": {
"latitude": 51.52627543859447,
"longitude": -0.03635349400295168
},
"top_right": {
"latitude": 51.56717121807993,
"longitude": -0.002293530559768285
}
},
"max_results": 2
}'