ReplyToHTTPMessage
This activity is supported for backward compatibility only.
This Activity is not supported in Flogo Enterprise 2.5.0 and above. This Activity applies only to flows that were created in previous versions of Flogo Enterprise (before version 2.5.0) that are imported into the current version.
This Activity automatically gets created when you create a flow with a REST trigger. It is used by the server to reply to a request from the REST client.
Configuration
Field | Description |
---|---|
Reply | Reply sent by the server in response to the REST client request. The two supported replies are
Success with Data and
Error with Message.
If you select Success with Data, the reply schema must be configured on the Input Settings tab in the Schema field. If you select Error with Message, you must configure the error message in the message field of the Input tab. |
Input Settings
Field | Description |
---|---|
Schema | Enter the reply schema or sample data using a JSON structure. |
Input
Field | Description |
---|---|
message | The string that is included in the reply. If you configured the Reply field on the Configuration tab with Error with Message, the error message must be entered in the message text box. If you configured the Reply field with Success with Data, then you must map your data according to the schema specified on the Input Settings tab. |