fetch()
Fetch content from a URL.
Usage
fetch(
url,
timeout=30,
)Parameters
url: str-
The URL to fetch.
timeout: int = 30-
Request timeout in seconds.
Returns
str-
The response body.
Fetch content from a URL.
Usage
url: strThe URL to fetch.
timeout: int = 30Request timeout in seconds.
strThe response body.