Skip to content

How to redirect all the incoming requests for multiple microservices? #1841

Answered by AShaker01
AShaker01 asked this question in Q&A
Discussion options

You must be logged in to vote

Using everything in the route working as expected.
the issue was that I've a route like/api/products
and this should be mapping to products controller get method.
but when I've defined the upstream route likes /api/products/everything.
all the routes worked except that route /api/products

so i ended up by defining two routes
one specific for the api/products
and one generic for all other routes api/products/{everything}

that's way in the first glance i thought that everything doesn't work :)

thanks for everyone's support and jokes 😁

Replies: 3 comments 8 replies

Comment options

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

Comment options

You must be logged in to vote
6 replies
@ks1990cn
Comment options

@raman-m
Comment options

@ks1990cn
Comment options

@ks1990cn
Comment options

@ks1990cn
Comment options

Comment options

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

Answer selected by AShaker01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Initially seen a question could become a new feature or bug or closed ;)
3 participants