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

11 lines
307 B
Plaintext
Raw Normal View History

2025-10-21 11:36:43 +03:00
 URL = "https://bin.openintegrations.dev";
2025-04-25 21:52:05 +03:00
URL = URL + "/post";
Data = New Structure("Field1,Field2", "10", "Text");
Result = OPI_HTTPRequests.NewRequest()
.Initialize(URL)
.SetFormBody(Data) // <---
.ProcessRequest("POST")
.ReturnResponseAsJSONObject();