We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need request to endpoint when use dynamic {everythings}
I have a service with url:
http://logging.mydomain.com/api/logs http://logging.mydomain.com/api/logs/trace http://logging.mydomain.com/api/logs/write And a api gateway with url: http://api.mydomain.com
in ocelot configuration file:
{ "ReRoutes": [ { "DownstreamPathTemplate": "/api/logs/{everything}", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "logging.mydomain.com", "Port": 80 } ], "UpstreamPathTemplate": "/logs/{everything}", "UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete", "Options" ] } ], "GlobalConfiguration": { "BaseUrl": "http://api.mydomain.com" } }
I just can redirect to http://logging.mydomain.com/api/logs/trace http://logging.mydomain.com/api/logs/write and can't redirect to http://logging.mydomain.com/api/logs
Thanks for your support
The text was updated successfully, but these errors were encountered:
"DownstreamPathTemplate": "/api/logs/{everything}", and can't redirect to http://logging.mydomain.com/api/logs
"DownstreamPathTemplate": "/api/logs/{everything}",
This issue was fixed by PR #1911 and released in version 23.0 See: Empty Placeholders feature Please use the latest versions 23.0+ ❗
Sorry, something went wrong.
Fixed by #1911
No branches or pull requests
Expected Behavior / New Feature
Need request to endpoint when use dynamic {everythings}
Actual Behavior / Motivation for New Feature
I have a service with url:
http://logging.mydomain.com/api/logs
http://logging.mydomain.com/api/logs/trace
http://logging.mydomain.com/api/logs/write
And a api gateway with url:
http://api.mydomain.com
in ocelot configuration file:
I just can redirect to
http://logging.mydomain.com/api/logs/trace
http://logging.mydomain.com/api/logs/write
and can't redirect to
http://logging.mydomain.com/api/logs
Thanks for your support
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: