Are wildcards in the path supported? #692
Answered
by
Tratcher
mathiasfritsch
asked this question in
General
-
Hi, Are wildcards for the path supported? I tried /api/myendpoint* but that did not work for /api/myendpoint/getvalues
greetings |
Beta Was this translation helpful? Give feedback.
Answered by
Tratcher
Jan 25, 2021
Replies: 1 comment
-
These become ASP.NET Core routes and use the same syntax. I think what you're looking for here is "/api/myendpoint/{**catch-all}". |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mathiasfritsch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These become ASP.NET Core routes and use the same syntax. I think what you're looking for here is "/api/myendpoint/{**catch-all}".
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/routing?view=aspnetcore-5.0#route-template-reference