You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 10, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ Create a new instance of the Netlify API client with the provided `accessToken`.
53
53
host:'api.netlify.com',
54
54
pathPrefix:'/api/v1',
55
55
accessToken:'1234myAccessToken',
56
+
agent:undefined, // e.g. HttpsProxyAgent
56
57
globalParams: {} // parameters you want available for every request.
57
58
// Global params are only sent of the OpenAPI spec specifies the provided params.
58
59
}
@@ -192,6 +193,18 @@ Optional `opts` include:
192
193
}
193
194
```
194
195
196
+
## Proxy support
197
+
198
+
**Node.js only**: If this client is used behind a corporate proxy, you can pass an `HttpsProxyAgent` or any other `http.Agent` that can handle your situation as `agent` option:
0 commit comments