-
I found that route path is either static path like /a/b or prefix match path like /a/*, I wonder why apisix does not support regexp directly and make it in proxy-rewrite plugin instead? And I want to know how to support REST API like blow:
|
Beta Was this translation helpful? Give feedback.
Answered by
tokers
Jan 10, 2022
Replies: 1 comment 2 replies
-
You can implement a regex pattern for a route, but you have to resort to the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
caibirdme
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can implement a regex pattern for a route, but you have to resort to the
vars
field, see https://github.com/api7/lua-resty-expr#new for details.