Read Resource - Read content from a URL

This action reads content from a URL (e.g. a URL created by Create File URL).

To allow the user to read the content of an arbitrary file at runtime, use the File Input Field display element.

To read the content of a resource file (a file stored in the "models" folder of the Tersus project), use Read File or Read Binary File.

Trigger

<URL> (non-repetitive text trigger [required]): The URL (e.g. the output of Create File URL).

Exits

<Content> (non-repetitive text or binary exit [required]): The read content.

<Not Found> (non-repetitive empty exit [required]): Indication of a failure to read the resource (e.g. if it does not exist or is inaccessible).

<Not Authorized> (non-repetitive empty exit [required]): Indication of a failure to read the resource due to lack of permissions (HTTP status code 403).

Usage Examples 1 - Reading a File

The "Music Library/Music" callable service from the Music Library project:

Usage Examples 2 - Reading a Service Response

"Forex/Get Rates/Get Rates" from the Forex project: