...
It is mainly used to programmatically call functions inside of other picos from inside a rule. However, do not have a pico query itself, or have two picos query each other simultaneously. See Accessing a Function Shared by Another Pico for more information.
Parameters
Parameter | Datatype | Description |
---|---|---|
eci | String | The ECI to send the event to |
mod | String | The ruleset to send the event to |
func | String | The name of the function to query |
params | Object | The parameters to be passed to the function on the target pico. Given as an object with parameter name mapped to argument value. |
_host | String | The target pico's host |
_path | String | An optional different path for the beginning of the underlying URL |
_root_url | String | The root URL for the request. Defaults to meta:host (the pico engine itself). |
...