Calling an API and getting result in a flow
Posted: Wed Oct 06, 2021 2:29 pm
I am looking into how we can call an API, and then get the result to use in a flow (assume as XML).
I can write a PHP script (which is using cURL) to run on a website to do this, which as an example just calls an API to get an exchange rate, and then returns some XML which contains the Country code and Exchange Rate.
I'm not sure how I would write something similar to work in Switch though.
Does anyone have an example flow they could share that does something similar, that I can have a look at?
I can write a PHP script (which is using cURL) to run on a website to do this, which as an example just calls an API to get an exchange rate, and then returns some XML which contains the Country code and Exchange Rate.
I'm not sure how I would write something similar to work in Switch though.
Does anyone have an example flow they could share that does something similar, that I can have a look at?