Home > Forum > Processes > How to use REST for conversion of currency exchange

How to use REST for conversion of currency exchange
0

I have already used the database provided by European Central Bank for currency exchange. But i want to use REST for conversion of currency exchange(mostly for euro). What should be the URL/REST request suffix when im selecting GET HTTP method.

MVP

Hi,

I'm not sure why you want to do an extra REST call which could fail, if you already have the exchange rate data. The only idea I have is that you really need the current rate. But this is beside the question.

Which API do you want to use? Do you want to use the NBP API? Maybe I have overlooked a conversion method but even if it would be available, you could get the conversion store the value in a local variable of an automation and do the math yourself. I have to admit that I didn't test the later part.

If you are using another API you could search for postman and you API you may find a sample.

Best regards,
Daniel