title: How to check request content type in ASP.Net Web API?
body: <p>I have trouble finding the way to check request content type in ASP.NET Web Api.  Is there a way I can check request content type whether it is application/xml or application/json at controller level?</p>
  
  <p>any help would be appreciated.</p>