How to read raw http request in ASP.NET MVC ?
Below are the codes you can use to read the raw request in parts .
Read the Request Headers :
string originalHeader = HttpHandler.Request.ServerVariables["ALL_RAW"];
For reference http://stackoverflow.com/questions/1038466/logging-raw-http-request-response-in-asp-net-mvc-iis7
Read the Request body :
Request.InputStream.Position = 0;
var input = new StreamReader(Request.InputStream).ReadToEnd();
For reference http://stackoverflow.com/questions/12696506/getting-the-raw-request-in-mvc3
e7ddc9b6-8837-4e59-b29e-ee678c40daff|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
ASP.NET MVC
request, raw, asp.net, header, body