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/GetLog.txt
Vitaly the Alpaca (bot) 47fa4e92bb Main build (Jenkins)
2025-06-27 11:47:43 +03:00

14 lines
394 B
Plaintext
Vendored

URL = FunctionParameters["HTTP_URL"];
URL = URL + "/get";
ParametersStructure = New Structure("param1,param2", "text", 10);
HTTPClient = OPI_HTTPRequests
.NewRequest()
.Initialize(URL)
.SetURLParams(ParametersStructure)
.ProcessRequest("GET");
Response = HTTPClient.ReturnResponseAsJSONObject();
Log = HTTPClient.GetLog(True);