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

8 lines
187 B
Bash
Executable File

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