0

I'm looking at possibiliy of needing to add a custom HTTP header to a GET/POST request in an existing MVC 4 web application.

I know it is easy to add custom headers to responses but for requests it seems that it looks a bit more challenging.

I came across this article in researching but it is 5 yrs old now. HttpModule to add headers to request

Am just wondering if anyone knows if there is an improved way of doing this in the current day? (as above example uses reflection this will obviously have an impact on performance with the application)

Thanks

Community
  • 1
  • 1
AdrianSean
  • 397
  • 1
  • 5
  • 21

0 Answers0