Fetches text (typically markup) from the url. This is only a shorthand for using fetch.
fetch
The url to pass to fetch
Optional
Whether to return the empty string if an error occurs.
The init argument for fetch
init
const markup = await apriori.get('./apriori/get.html') Copy
const markup = await apriori.get('./apriori/get.html')
Fetches text (typically markup) from the url. This is only a shorthand for using
fetch
.