| Name | Type | Description |
|---|---|---|
| event | object | Contains information of the event. It has the following structure:
|
//logs the data sent by the endpoint
sys.logs.info('*** ENDPONT: '+event.endpoint);
sys.logs.info('*** EVENT: '+event.endpointEvent);
sys.logs.info('*** DATA: '+event.data);