/
xcon.SendText (HTTP POST with JSON string)
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 |
---|---|---|---|
string | M | Handle that identifies the connection within the LUA script. | |
string | M | URL | |
number | M | 3 (constant) | |
number | M | 0 (constant) | |
string | M | the JSON text to be sent |
Return
Type | Description |
---|---|
bool | true when server is initialized, otherwise false. |
, multiple selections available,
Related content
Integrate other HTTP / web services
Integrate other HTTP / web services
Read with this
xcon.SendText (HTTP POST with JSON string and MIME type provided)
xcon.SendText (HTTP POST with JSON string and MIME type provided)
More like this
xcon.SendText (HTTP POST with XML string)
xcon.SendText (HTTP POST with XML string)
More like this
xcon.SendText (plain string over socket connection)
xcon.SendText (plain string over socket connection)
More like this
xcon.SendTextTo
xcon.SendTextTo
More like this
xcon.Send
xcon.Send
More like this