URL = "http://localhost:2424"; URL = URL + "/post"; Text = "Hello world!"; Encoding = "Windows-1251"; Result = OPI_HTTPRequests.NewRequest() .Initialize(URL) .UseEncoding(Encoding) .SetStringBody(Text) // <--- .ProcessRequest("POST") .ReturnResponseAsJSONObject();