Files
services/examples/currency/rates/curl/getRatesForUsd.sh

6 lines
154 B
Bash
Executable File

curl "http://localhost:8080/currency/Rates" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"code": "USD"
}'