1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-04-28 20:46:05 +02:00
Files
OpenIntegrations/docs/en/examples/HTTP/SetProxy.txt
T

12 lines
381 B
Plaintext
Vendored

URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ProxySettings = New InternetProxy;
ProxySettings.Set("https", "proxy.com", 443, "user", "password", False);
Result = OPI_HTTPRequests.NewRequest()
.Initialize()
.SetURL(URL)
.SetProxy(ProxySettings) // <---
.ProcessRequest("GET", False)
.ReturnConnection();