PlasticJonbenetDoll opened a new issue, #10387:
URL: https://github.com/apache/apisix/issues/10387

   ### Description
   
   So I have a question. Is it possible to return custom response if the wrong 
method was called? 
   For example route's method was GET but client sent POST request.
   Currently apisix returns Route not Found, but I want to make different 
resopnse based on used method.
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.5
   - Operating system (run `uname -a`): Red Hat
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


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