How to forward an HttpRequestMessage to another server
问题 What's the best way to forward an http web api request to another server? Here's what I'm trying: I have a .NET project where when I get certain API requests I want to modify the request, forward it to another server, and return the response sent by that second server. I'm doing the following: [Route("forward/{*api}")] public HttpResponseMessage GetRequest(HttpRequestMessage request) { string redirectUri = "http://productsapi.azurewebsites.net/api/products/2"; HttpRequestMessage