Skip to main content

Response

Introduction​

When you expect to return data after a certain node has finished executing, you can use the Response node.

You can add different responses for different scenarios, which will be returned based on the actual execution result.

In the case of the same execution conditions (such as several parallel running links that all succeed), when adding Response nodes separately, we will only return the data from the first Response node that has finished running.

Parameters​

Property nameDescription
Status codeIt will be returned as the status of the request.
LocationIn the case of a 307 or 308 status code, you can set the redirect URL in the Location header. When the browser receives this status code, it will automatically redirect to the specified URL.
Response bodyYou can configure it to return JSON, Text, or not return any data. JSON, such as{"a":1, "b":2}; Text, can be used to return String or numeric values. For string values, it can be a simple text likeHello world. For numeric values, they need to be enclosed in double curly braces, like{{5}}.
Response headersUsed to set parameters in response headers.