Parameters
See plugin common configurations for configuration options available to all plugins.
request
object
required
Request body transformation configuration.
input_format
string
vaild vaule:
xml
orjson
Request body original media type. If unspecified, the value would be determined by the
Content-Type
header to apply the corresponding decoder. If the media type is neitherxml
norjson
, the value would be left unset and the transformation template will be directly applied.template
string
required
Request body transformation template.
template_is_base64
boolean
Set to true if the template is base64 encoded.
response
object
Response body transformation configuration.
input_format
string
vaild vaule:
xml
orjson
Response body original media type. If unspecified, the value would be determined by the
Content-Type
header to apply the corresponding decoder. If the media type is neitherxml
norjson
, the value would be left unset and the transformation template will be directly applied.template
string
required
Response body transformation template.
template_is_base64
boolean
Set to true if the template is base64 encoded.