Skip to content

How to define route templates containing $ in URL paths? #1930

Answered by raman-m
kvskranthikumar asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it can be a solution.

But, better to define one route with correct templates via Placeholders feature like 👇

{
  "DownstreamPathTemplate": "/Users/api/v1/odata/{metadata}",
  "UpstreamPathTemplate": "/Users/{metadata}",
}

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@raman-m
Comment options

Answer selected by raman-m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Routing Ocelot feature: Routing
4 participants
Converted from issue

This discussion was converted from issue #859 on January 19, 2024 17:02.