HTTP Request Response
This node can be used in conjunction with HTTP-based triggers such as WeChat Pay notification and WeChat messages and events. By using this node in a workflow, you can customize the response status and data for HTTP requests.
Configuration Item Description
Status Code
namely HTTP status code (HTTP Status Code), defaults to 200.
Return Type
The type of the HTTP response body (Response Body), defaults to JSON, with options for Text and None. Depending on the type, the Content-Type
field will be automatically added to the response headers (Response Headers). The specific rules are as follows:
- JSON:application/json;
- Text: text/plain;
- None: does not include the Content-Type field;
Response Body
The Response Body corresponding to the [Return Type].
Response Header
Response Headers can be added as needed.
If the Content-Type
response header is added again in this configuration item, it will override the auto-generated Content-Type from the [Return Type] configuration item.