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

10 lines
289 B
Plaintext
Raw Normal View History

2025-09-23 10:13:09 +03:00
 URL = "https://bin.openintegrations.dev";
2025-05-09 00:04:38 +03:00
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()
.Initialize()
.SetURL(URL)
.AddBasicAuthorization("user", "password") // <---
.ProcessRequest("GET")
.ReturnResponseAsJSONObject();