This is an automated email from the ASF dual-hosted git repository.
spacewander 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 bbe6fc1 modify batch-requests.md, example's `--d` should be `--data`
(#2724)
bbe6fc1 is described below
commit bbe6fc1ceb0198e36c15c790162f6fd5a16aefb1
Author: idbeta <[email protected]>
AuthorDate: Fri Nov 13 09:12:32 2020 +0800
modify batch-requests.md, example's `--d` should be `--data` (#2724)
---
doc/plugins/batch-requests.md | 2 +-
doc/zh-cn/plugins/batch-requests.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/plugins/batch-requests.md b/doc/plugins/batch-requests.md
index 9587c03..04ab426 100644
--- a/doc/plugins/batch-requests.md
+++ b/doc/plugins/batch-requests.md
@@ -110,7 +110,7 @@ You can pass your request detail to batch API(
`/apisix/batch-requests` ), `apis
```shell
curl --location --request POST 'http://127.0.0.1:9080/apisix/batch-requests' \
--header 'Content-Type: application/json' \
---d '{
+--data '{
"headers": {
"Content-Type": "application/json",
"admin-jwt":"xxxx"
diff --git a/doc/zh-cn/plugins/batch-requests.md
b/doc/zh-cn/plugins/batch-requests.md
index 82f7d8d..6e0c682 100644
--- a/doc/zh-cn/plugins/batch-requests.md
+++ b/doc/zh-cn/plugins/batch-requests.md
@@ -108,7 +108,7 @@ curl
http://127.0.0.1:9080/apisix/admin/plugin_metadata/batch-requests -H 'X-API
```shell
curl --location --request POST 'http://127.0.0.1:9080/apisix/batch-requests' \
--header 'Content-Type: application/json' \
---d '{
+--data '{
"headers": {
"Content-Type": "application/json",
"admin-jwt":"xxxx"