1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/HTTPClient/AddBasicAuthorization.txt
Vitaly the Alpaca (bot) 805a6881c8 Main build (Jenkins)
2025-05-09 21:49:23 +03:00

10 lines
276 B
Plaintext
Vendored

URL = "https://httpbin.org";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()
.Initialize()
.SetURL(URL)
.AddBasicAuthorization("user", "password") // <---
.ProcessRequest("GET")
.ReturnResponseAsJSONObject();