Page Contents

Home > @loopback/testlab > httpGetAsync

httpGetAsync() function

Async wrapper for making HTTP GET requests

Signature:

export declare function httpGetAsync(urlString: string): Promise<IncomingMessage>;

Parameters

Parameter Type Description
urlString string  

Returns:

Promise<IncomingMessage>