fetch
HTTP request
fetch(url: str, opt?: map) -> Task
Params (2)
url
A url string.
opt
A map of options
methodstringheadersa map of headers
// todo
Return value
A task contains response object.
// todo
Last updated
Was this helpful?