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 2022/01/21 01:19:25 UTC

[GitHub] [apisix] tzssangglass commented on issue #6131: request help: custom mismatching route response

tzssangglass commented on issue #6131:
URL: https://github.com/apache/apisix/issues/6131#issuecomment-1018074477


   > 就是如果APP请求了一个不存在的路由,返回的数据可能解析不了会导致APP崩溃,测试可能没有测试到,但是APP已经发布了。
   
   waht @spacewander means that you can set up a `/*` route to underwrite and match all requests that cannot be matched, and configure the `fault-injection` plugin on this route to  define your response.
   
   just try.


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