mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-05 05:27:35 +08:00
modify batch-requests.md, example's --d
should be --data
(#2724)
This commit is contained in:
parent
2f8762c22f
commit
bbe6fc1ceb
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user