Files
services/examples/currency/convert/curl/convertUsdToGbp.sh

7 lines
171 B
Bash
Executable File

curl "http://localhost:8080/currency/Convert" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"from": "USD",
"to": "GBP"
}'