Use
This node sends a GET request to an API endpoint. The returned JSON response can be parsed to a JSON object. Optionally, the payload that this node receives from other nodes can be appended to the query string parameters or sent as request body.
The HTTP request node must be used to call a Business logic function in a flow.
Properties
Attribute | Values | Remarks |
---|
Method | GET|POST|PUT|DELETE|PATCH | Default is GET. |
URL | the API endpoint | Enter the absolute path. |
Payload | select from drop-down | - Ignore: Ignores the msg.payload received from other nodes.
- Append to query string parameters: Creates attribute/value pairs from the msg.payload and appends them to the query string.
- Send as request body: Uses the msg.payload as is and passes it to the request body.
|
Enable secure (SSL/TLS) connection | true|false | Default is false. If set to true, enter the key and certificate. |
Use authentication | true|false | Default is false. If set to true, enter credentials. |
Enable connection keep-alive | true|false | Default is true. |
Use proxy | true|false | Default is false. If set to true, enter the proxy configuration. |
Name | any string | Enter a self-explaining name of the node. If you leave this field empty, the generic name displays in the dashboard. |
Example
Call a Knative business logic function.