1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-04-30 09:11:33 +03:00
parent 3edddec00f
commit 290042b375
9 changed files with 7886 additions and 7731 deletions

View File

@@ -0,0 +1,16 @@
 URL = "https://httpbin.org";
URL = URL + "/post";
RandomArray = New Array;
RandomArray.Add("A");
RandomArray.Add("B");
RandomArray.Add("C");
Data = New Structure("Field1,Field2,Field3", 10, "Text", RandomArray);
Result = OPI_HTTPRequests.NewRequest()
.Initialize(URL)
.StartMultipartBody(True, "related")
.AddDataAsRelated(Data, "application/json; charset=UTF-8") // <---
.ProcessRequest("POST")
.ReturnResponseAsJSONObject();