cURL
curl --request POST \ --url https://api.example.com/v1/currencies/convert \ --header 'Content-Type: application/json' \ --data ' { "from": "<string>", "to": "<string>", "amount": 123 } '
{ "from": "<string>", "to": "<string>", "amount": 123, "converted_amount": 123, "rate": 123, "timestamp": "2023-11-07T05:31:56Z" }
Conversion result