On HTTP Route
Methods PUT, DELETE, and HEAD available since 2022.1.2
Last updated
Methods PUT, DELETE, and HEAD available since 2022.1.2
Last updated
On HTTP Route is an Event Listener Node that executes when a Request
is received by a specific Route, which is set up in the Attributes
, and returns the data defined by the outputs. A Route is made up of a Method
and URL
.
The Node changes with each Route added. Please refer to the example for more information.
Scope: Project, Scene.
Attribute | Type | Description |
---|---|---|
| Drop-down | The desired HTTP server, which refers back to the selections made under HTTP in the Project Settings. |
| Add Elements | A |
| Bool | The user chooses true or false depending on whether they wish for the |
Output | Type | Description |
---|---|---|
| Output Pulse | An Output Pulse which appears when a Route is created and a |
| Dictionary | HTTP headers in the form of key/value pairs. |
| Dictionary | Parameters of the call in the form of key/value pairs. |
| CustomID | The unique ID of the request, which can then be used by HTTP Response. |
| String | The body of the response, usually including HTML text. This Attribute is only available for the |
To better demonstrate the differences between the Methods
and how that translates to changes in the Node, please refer to the following image:
Every Method
creates a new Output Pulse for that specific Method
, along with the provided URL given in the Attributes section. If there are multiple Methods
, some Outputs are shared. These are Headers
, Query
, and Request ID
, which appear at the bottom of the Node. For the Methods
that return the String Output Body
, a separate Body
Output is created for each.
Different HTTP Methods on W3Schools.