DownloadFromUrl(url) Last updated: 04. Oct 2023

Downloads text from specified URL.

Parameters

Name Type Description
url string URL to call with HTTP GET.

Returns

Returns downloaded string.

Example

Code example (#JS)

#JS is mixed HTML (or other text file) with inline JavaScript with # starting and ending each inline statement.
#{
    // DownloadFromUrl...
}#

Output

The #JS code above produces the output shown below:
Only works in API functions, no demo.