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/SetURLParams.txt

12 lines
339 B
Plaintext
Raw Normal View History

2025-10-20 19:41:52 +03:00
 URL = FunctionParameters["HTTP_URL"];
2025-04-21 22:32:08 +03:00
URL = URL + "/get";
ParametersStructure = New Structure("param1,param2", "text", 10);
Result = OPI_HTTPRequests
.NewRequest()
.Initialize(URL)
.SetURLParams(ParametersStructure) // <---
.ProcessRequest("GET")
.ReturnResponseAsJSONObject();