modify batch-requests.md, example's --d should be --data (#2724)

This commit is contained in:
idbeta 2020-11-13 09:12:32 +08:00 committed by GitHub
parent 2f8762c22f
commit bbe6fc1ceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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"