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
STEP 1: Connect to the API
In this example we're calling the open weather service:
![]()
Example URL:
local Url = 'http://api.openweathermap.org/data/2.5/weather'
STEP 2: Configure the Parameters
This would include a table of parameters to be passed to the server.
![]()
Optional: Create a Custom Fields for the appid parameter
![]()
STEP 3: Call the web service and parse the request
![]()
Optional: Use the same approach to make any http requests
![]()
STEP 4: Modify the data and send to queue
![]()
For more advanced strategies for calling web services, see Building HTTP Requests and Handling HTTP Responses.