Skip to content

Question: YARP response transform #3

@Allann

Description

@Allann

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions