Skip to content

Response: set headers

Plugin ID: eca_endpoint_set_response_headers

Available since: 1.1.0

Fields

Headers — config key: headers

The headers to set. If you can also use YAML syntax by enabling it below.
This field supports tokens.

Type: textarea · Required: yes · Default: empty string

Interpret above value as YAML format — config key: use_yaml

Nested data can be set using YAML format, for example Content-Type: "text/html; charset=UTF-8". When using this format, this option needs to be enabled. When using tokens and YAML altogether, make sure that tokens are wrapped as a string. Example: Content-Type: "[content_type]"

Type: checkbox · Required: no · Default: false

Validate YAML to prevent this from being executed when invalid — config key: validate_yaml

Type: checkbox · Required: no · Default: false