Promotic
Login logon

send - method of the HttpRequest object

Description:
Sends an HTTP request to the server.
Syntax:
String send([String varBody])
Parameters:
varBody[optional] (String) Sent data in case of using POST method in the open method.
Note:
Depending on the setting of the async parameter in the open method the result of the call is returned immediately or after receiving of the entire message. It can also be terminated in timeout.
See also:
- HttpRequest.open (method)
Example1:
JavaScriptVBScriptSelect and copy to clipboard

// open method "GET"
oReq.send();
// open method "POST"
oReq.send(data);
PROMOTIC 9.0.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences