I need to create a POST method in WebApi so I can send data from application to WebApi method. I\'m not able to get header value.
Here I have added header values in
try these line of codes working in my case:
IEnumerable values = new List(); this.Request.Headers.TryGetValues("Authorization", out values);