piglei commented on PR #9482:
URL: https://github.com/apache/apisix/pull/9482#issuecomment-1553773107

   > I think it would be better to allow usage of GET method for plugin reload 
instead of warning user about wrong method usage, WDYT?
   
   Adding support for using GET to reload the plugins is okay and convenient. 
But consider that the "reload" endpoint is in the "/plugins/reload/<:string>" 
pattern family and the result of calling other endpoints via GET is reading 
information of the plugins, which has no side-effect at all. So, it's better to 
only support the PUT method for doing a plugin reload. 
   
   


-- 
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: [email protected]

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

Reply via email to