Calling Out from the IBM i Securely to Public Web Services
Learn how you can open up your IBM i and connect to public web services through APIs securely and reliably.
Now let’s look at the RPG code. Using Eradani Connect, you simply need to identify the data you’re sending and receiving, and then write two lines of code. Here is the description of the data that allows us to send latitude and longitude or an address and provides a field for the results. You then write a standard procedure call that calls Eradani Connect send request to make the call. Then you write a second standard procedure call that calls Eradani Connect receive result to get the results. And that’s all there is to it. That’s all you need to write in your RPG code.