3.2.7. HTTP Request
The HTTP Request node can send an HTTP request to achieve more complex operational requirements.
Node Input
The parameters of the input field can reference or customize parameters of types such as String, Integer, Float, Boolean, etc.
The Request configuration field allows you to select the request type. You can choose from GET, OPTIONS, HEAD, POST, PUT, PATCH, or DELETE.
- URL input meets the conditions of an http or https request address such as: http://www.example.com
- URL input with a port for http or https request address such as: http://www.example.com:8080
- URL input with a path for http or https request address such as: http://www.example.com/path/to/resource The URL field input references the address of the input field, such as http://www.example.com/. It can reference the input parameters entered above.
params, body, and header can either be customized values or reference the values of the Input field using . The body is mainly for sending control commands to the device, and it can also operate when empty.
params and header cannot be empty, but you can choose not to add params or header.
Output parameters can be customized or left empty (without adding output parameters).