Local REST call
The behaviour can be used to serve internal REST API's.
Parameter |
Description |
URI |
The aim of the call. |
Method |
HTTP request method. |
Payload |
The content to be sent. |
Result |
The result passed to the behaviour actions. |
These are used, among other things, for the 'Portal Light' to obtain the logs of profiles, for example.
The URI is evaluated as a Calculation expression and must define a relative path. Payload defines the object to be sent, $input means here that the incoming data will be sent.
The result object can be accessed in the result expression ($input). The data resolved here is passed to the behaviour actions.