Table of Contents

Get Contents of URL Action

The Get Contents of URL Action allows users to query APIs and other URLs and save the results of the query to an Indigo variable for display or for further processing.

Examples

Here are a couple of examples to get you started.

Example 1

Enter the URLhttps://api.weather.gov/stations/KATT/observations/latest

Method → Get

HTTP Auth → False

Show Headers → False

Body → None

Store result in variable → True

Variable → [choose the appropriate variable]

Example 2

Enter the URLhttps://httpbin.org/bearer

Method → Get

HTTP Auth → False

Show Headers → True

Add a Header (be sure to click the Add Header button:

Key → Authorization

Value → Bearer indigo123

Body → None

Store result in variable → True

Variable → [choose the appropriate variable]