xcon.SendText (HTTP POST with JSON string)

Description

This function can be used to send data via an established connection.

Signature

bool xcon.SendText (HTTP POST with JSON string) (string, string, number, number, string)

Parameters

Name Type Mandatory/Optional Description
stringMHandle that identifies the connection within the LUA script.
stringMURL
numberM3 (constant)
numberM0 (constant)
stringMthe JSON text to be sent

Return

Type Description
booltrue when server is initialized, otherwise false.