title: Send Xml data to webapi apicontroller parameter value null
body: <p>I want to send xmldata via fiddler to my wepabi, but my webapi doesn't get the data for some reason. I want to know the reason;)</p>
  
  <p>What I have:  </p>
  
  <pre><code>[RoutePrefix("Document")]
  public class DocumentController : ApiController
  {
      [HttpPost]
      [Route("AddDocument")]
      public IHttpActionResult AddDocument([FromBody] XmlDocument doc)
      {
          //  Do Stuff
          return Ok();
      }
  }
  </code></pre>
  
  <p>What my fiddler looks like
  <a href="https://i.stack.imgur.com/rrlxM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rrlxM.png" alt="FiddlerRequest"></a></p>
  
  <p>When I do this request <code>doc</code> is always <code>null</code>. What am I doing wrong?</p>