get_remote_with_config

The get_remote_with_config function fetches the content of a remote URL and returns it as a string. It takes a configuration object as an argument, which can be used to set custom HTTP headers.

{{ get_remote_with_config "https://example.com" $config }}