2025-10-05 19:19:32 +03:00
|
|
|
URL = "https://bin.openintegrations.dev";
|
2025-05-14 14:53:52 +03:00
|
|
|
URL = URL + "/get";
|
|
|
|
|
|
|
|
|
|
ArrayParam = New Array;
|
|
|
|
|
ArrayParam.Add("val1");
|
|
|
|
|
ArrayParam.Add("val2");
|
|
|
|
|
ArrayParam.Add("val3");
|
|
|
|
|
|
|
|
|
|
ParametersStructure = New Structure("arrayfield", ArrayParam);
|
|
|
|
|
|
|
|
|
|
Separation = OPI_HTTPRequests.NewRequest()
|
|
|
|
|
.Initialize("https://example.com/page")
|
|
|
|
|
.SetURLParams(ParametersStructure)
|
|
|
|
|
.SplitArraysInURL(True) // <---
|
|
|
|
|
.ProcessRequest("GET", False)
|
|
|
|
|
.ReturnRequest()
|
|
|
|
|
.ResourceAddress;
|
|
|
|
|
|
|
|
|
|
SeparationPhp = OPI_HTTPRequests.NewRequest()
|
|
|
|
|
.Initialize("https://example.com/page")
|
|
|
|
|
.SetURLParams(ParametersStructure)
|
|
|
|
|
.SplitArraysInURL(True, True) // <---
|
|
|
|
|
.ProcessRequest("GET", False)
|
|
|
|
|
.ReturnRequest()
|
|
|
|
|
.ResourceAddress;
|
|
|
|
|
|
|
|
|
|
NoSeparation = OPI_HTTPRequests.NewRequest()
|
|
|
|
|
.Initialize("https://example.com/page")
|
|
|
|
|
.SetURLParams(ParametersStructure)
|
|
|
|
|
.ProcessRequest("GET", False)
|
|
|
|
|
.ReturnRequest()
|
|
|
|
|
.ResourceAddress;
|