Calling Web Services

In general when connecting to web services, you use the HTTP API to pull or push data. The XML or JSON API can be very useful to parse or generate data.

Let’s start with a simple example, getting the weather in London from the OpenWeatherMap web service

In this example we’re calling the open weather service:

Screen Shot 2024-10-01 at 3.13.14 PM.png

Example URL:

local Url = 'http://api.openweathermap.org/data/2.5/weather'

This would include a table of parameters to be passed to the server.

Screen Shot 2024-10-01 at 3.15.59 PM.png

Optional: Create a Custom Fields for the appid parameter

Optional: Use the same approach to make any http requests

For more advanced strategies for calling web services, see Building HTTP Requests and Handling HTTP Responses.