HttpTrigger
The block defines the event generated by receiving of an HTTP command HttpTrigger
from the intercom HTTP server. When the HTTP command http://ip_addr/enu/trigger
is received, the event will be generated whose ID matches the value that follows /id
'trigger/' in the HTTP command. The intercom sends a simple reply to this request
(200 OK).
Input parameters
Name – define a unique HTTP command identifier including alphabetical
characters and digits.
Output parameters
Event – the Event invoke connected Event or Action.
The HttpTrigger event is always generated by the HTTP command which can carry a
list of user Input parameters as included in the URI command.
http://ip_address/enu/trigger/id?param1=value1¶m2=value2
The list of Input parameters follows the ? character. Each parameter must include the
name and value separated with the = character. If the list includes more Input
parameters than one, & is used as the separator.
The HTTP-received Input parameters are available as HttpTrigger block Output
parameters. The output parameters name equals to the name of the parameter
transferred - $(line.param1) a $(line.param2).