Skip to main content

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 or json


      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 neither xml nor json, 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 or json


      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 neither xml nor json, 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.


API7.ai Logo

API Management for Modern Architectures with Edge, API Gateway, Kubernetes, and Service Mesh.

Product

API7 Cloud

SOC2 Type IRed Herring

Copyright © APISEVEN Ltd. 2019 – 2024. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the

Apache Software Foundation