I have a controller action inside which I want to take the request 'as is', overwrite just its base URL to a different one (while keeping the rest of its properties such as method, query string, form, cookies, form data etc.), fire it against the overwritten location, get the result back and return it from my controller action.
I want to avail of the asp.net model binding (as I don't know how exactly the parameters are going to be passed in), I don't want to deal with HttpClient
, it's also essential to do everything from inside the controller action. Is there a way to accomplish this with asp.net core (.net core 5 I'm using).