Skip to content

Forward authorized request inside controller/service #2045

Answered by Tratcher
isBrainDed asked this question in Q&A
Discussion options

You must be logged in to vote

You don't need MapForwarder, that's only for the simplest scenarios, you can call the IHttpForwarder directly from a normal controller. Most of that transform logic would move into the controller before invoking the forwarder, which addresses your question about 127.0.0.1.

I noticed it is possible to refresh the configuration at runtime

This isn't relevant to direct forwarding, you're not reading anything here from config.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@isBrainDed
Comment options

@Tratcher
Comment options

@Tratcher
Comment options

@isBrainDed
Comment options

Answer selected by isBrainDed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants