Skip to content
New issue

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

Question: YARP response transform #3

Open
Allann opened this issue Jun 14, 2024 · 0 comments
Open

Question: YARP response transform #3

Allann opened this issue Jun 14, 2024 · 0 comments

Comments

@Allann
Copy link

Allann commented Jun 14, 2024

Hi,

Having configured a route i.e. POST catalog/product to go to product as you outlined in your article https://mehmetozkaya.medium.com/api-gateways-with-yarp-reverse-proxy-in-net-8-microservices-58c5565697d0 How does the response transform the Location header on the way back? e.g. I used CreatedAtRoute which adds a link to the Location header but it is obviously an internal link as the api does not know (at least it doesn't use the X-Forwarder headers to create a valid public URL.

I hope that makes sense and am hoping you can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant