/
xcon.SendText (HTTP POST with XML string)

xcon.SendText (HTTP POST with XML string)

Description

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

Signature

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

Parameters

Name Type Mandatory/Optional Description
stringMHandle that identifies the connection within the LUA script.
stringMURL
numberM5 (constant)
numberM0 (constant)
stringMthe XML text to be sent
stringOcharacter set, e.g. utf-8 (optional)

Return

Type Description
booltrue when server is initialized, otherwise false.

Related content

xcon.SendText (HTTP POST with JSON string)
xcon.SendText (HTTP POST with JSON string)
More like 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 (plain string over socket connection)
xcon.SendText (plain string over socket connection)
More like this