kayx23 commented on issue #10387:
URL: https://github.com/apache/apisix/issues/10387#issuecomment-1786407773

   > 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.
   
   You would just create a route to match POST and return an error message. 
Consider using the `response-rewrite` plugin.
   
   IMHO this should not be a new feature. Because what happens if someone needs 
to match to different destinations for GET and POST methods?


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