title: ASP.NET WebApi not receiving post data
body: <p>I need to receive some string and binary data using WebApi. I have created a controller this way:</p>
  
  <pre><code>    [HttpPost]
      public void Post(byte[] buffer)
      {
          // Some code goes here
      }
  </code></pre>
  
  <p>Here's the routtings:</p>
  
  <pre><code>    routes.MapHttpRoute(
          name: "CuscarD95B",
          routeTemplate: "D95B/{controller}",
          defaults: new { buffer = RouteParameter.Optional },
          constraints: new { controller = @"Cuscar" }
  </code></pre>
  
  <p>Now when I try to post some data, buffer is always byte[0] (zero length array). No data is being passed to the controller. </p>
  
  <p>Any help would be appreciated. </p>
  
  <p>Thanks.</p>