Skip to content

@http:fetch

Fetch a URL and return the response body as a string.

Returns: string

@http:fetch(url method? body? auth?)
NameTypeDescription
urlstringRequest URL
[method]stringHTTP method (GET, POST, etc.)
[body]stringRequest body (JSON string)
[auth]stringAuthorization header value