Skip to content

request

Code location

request(request): Promise<string>

Similar to fetch(), request a URL using HTTP/HTTPS, without any CORS restrictions. Returns the text value of the response.

Parameters

request: string | RequestUrlParam

Returns

Promise<string>