The End component defines the response for the API Express service (API) you created.
In the End component properties you can define the following standard values:
- HTTP response headers.
- HTTP response body.
- HTTP response code.
Response body is what the client invoking the API will get as response. You can set it to any of the values in the list. For example, to set it to the output from the previous component, set it to BODY value. BODY is one of the pre-defined Components Data values.
The default response code is set to 200. You can change it according to your flow logic. For example, if you set it to HTTP response 400, this means the app (client) should handle this response as an error.