---
lang: en
title: 'API docs: testlab.httpsgetasync'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/testlab
permalink: /doc/en/lb4/apidocs.testlab.httpsgetasync.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/testlab](./testlab.md) &gt; [httpsGetAsync](./testlab.httpsgetasync.md)

## httpsGetAsync() function

Async wrapper for making HTTPS GET requests

<b>Signature:</b>

```typescript
export declare function httpsGetAsync(urlString: string, agent?: https.Agent): Promise<IncomingMessage>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  urlString | string |  |
|  agent | https.Agent |  |

<b>Returns:</b>

Promise&lt;IncomingMessage&gt;


