include_url
Includes content from a URL.
Target
Signature
1include_url(url::string, ...)Includes content from a URL.
include_url is a global callable that can be used wherever an expression is valid. include_url performs network or protocol work. Make timeouts, encodings, and authentication settings visible in calling code so failures are easier to diagnose.
Parameters
url- Required value of type
string. Supplyurlpositionally unless the signature shows a keyword form. ...- Additional values may be supplied after the earlier arguments.
Examples
Basic call
1include_url('https://example.com/')The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.