Embedded Functions
Slurp URL
The slurpUrl()
function is used to fetch the contents of a URL and return it as a string.
Parameters
url
(required): The URL to fetchcacheTime
(required): The time to cache content (1s/1m/etc)headers
(optional): The headers to send with the request
Configuration
To use the slurpUrl()
function, provide the necessary parameters in your prompt. For example: