You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/01 10:49:58 UTC

[GitHub] [apisix-docker] tokers commented on issue #211: 没有办法在dashboard设置batch-requests

tokers commented on issue #211:
URL: https://github.com/apache/apisix-docker/issues/211#issuecomment-910164619


   > ![image](https://user-images.githubusercontent.com/66514726/131618563-29f72981-0028-4a01-a236-7add7c46d560.png)
   > 没有办法对单一的路由设置batch-requests,
   > 
   > curl http://127.0.0.1:9080/apisix/admin/plugin_metadata/batch-requests -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   > {
   > "max_body_size": 4194304
   > }'
   > 
   > 这个api设置只会对/apisix/admin/plugin_metadata/batch-requests路径剩下,我自己设置的路由并有效果
   
   Yep, the configuration about `max_body_size` is inside the plugin metadata. So you don't have to configure this plugin in any routes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org