Files
services/examples/weather/now/curl/getCurrentWeather.sh

6 lines
158 B
Bash
Executable File

curl "http://localhost:8080/weather/Now" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"location": "london"
}'