This is an automated email from the ASF dual-hosted git repository.
traky pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 979231220 docs: add 'template_is_base64' attribute to body-transformer
plugin (#10819)
979231220 is described below
commit 9792312200e80badb78a3bc6f958d62ebd745f39
Author: baiyun <[email protected]>
AuthorDate: Tue Jan 16 11:26:48 2024 +0800
docs: add 'template_is_base64' attribute to body-transformer plugin (#10819)
---
docs/en/latest/plugins/body-transformer.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/en/latest/plugins/body-transformer.md
b/docs/en/latest/plugins/body-transformer.md
index 650e59adb..2e2c171a0 100644
--- a/docs/en/latest/plugins/body-transformer.md
+++ b/docs/en/latest/plugins/body-transformer.md
@@ -45,9 +45,11 @@ Use cases:
| `request` | object | False | request body transformation
configuration |
| `request.input_format` | string | False | request body
original format, if not specified, it would be determined from `Content-Type`
header. |
| `request.template` | string | True | request body
transformation template |
+| `request.template_is_base64` | boolean | False | Set to true
if the template is base64 encoded |
| `response` | object | False | response body transformation
configuration |
| `response.input_format` | string | False | response body
original format, if not specified, it would be determined from `Content-Type`
header. |
| `response.template` | string | True | response body
transformation template |
+| `response.template_is_base64` | boolean | False | Set to true
if the template is base64 encoded |
## Enable Plugin