Response
The settings of the Response component, which answers HTTP requests.
On this page
Response answers the request that a Route received earlier in the same flow.

| Setting | What it does |
|---|---|
| Type | The kind of answer: Auto, JSON, Success, Error, Empty response, Plain text, HTML, XML or Buffer. |
| Status code | The HTTP status, for example 200 or 400. With Auto, the field is locked at 200. |
| Path for reading value | The property of the data to send. Default response. Empty it to send the whole data. |
The node header shows the status and the type, for example 200 auto or 400 json.
Examples
| Data the node receives | Path | Answer |
|---|---|---|
{ message: 'Hello, Jane!' } | empty | {"message":"Hello, Jane!"} |
{ response: { success: true } } | response | {"success":true} |
See Create a GET endpoint and Create a POST endpoint.
If your endpoint answers {}, the data has no property with the name in Path for reading value.