1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/HTTPClient/SetFormBody.txt
Vitaly the Alpaca (bot) 58d505c297 Main build (Jenkins)
2025-04-25 21:52:05 +03:00

11 lines
294 B
Plaintext
Vendored

URL = "https://httpbin.org";
URL = URL + "/post";
Data = New Structure("Field1,Field2", "10", "Text");
Result = OPI_HTTPRequests.NewRequest()
.Initialize(URL)
.SetFormBody(Data) // <---
.ProcessRequest("POST")
.ReturnResponseAsJSONObject();