Miss-you commented on issue #2542:
URL: https://github.com/apache/apisix/issues/2542#issuecomment-718873618


   > ### Issue description
   > I want configure a route to only execute plugins:
   > 
   > ```
   > curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PATCH -d '
   > {
   >     "plugins": {
   >         "cgi-proxy": {
   >         }
   >     },
   >     "uri": "/cgi-proxy"
   > }'
   > ```
   > 
   > But an error occurred while requesting
   > 
![image](https://user-images.githubusercontent.com/8169665/97319518-effef280-18a7-11eb-961d-b7a8e2b290c4.png)
   > 
   > ### Environment
   > Can anyone help? thx
   > 
   > * apisix version (cmd: `apisix version`):
   >   2.0
   > * OS:
   >   mac
   
   The route requires at least one plugin or upstream binding.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to