title: 'HttpRequestMessage' does not contain a definition for 'Form'
body: <p>ASP.NET MVC 6(DNX 4.5.1).</p>
  
  <p>In my PUT method.</p>
  
  <pre><code>public class MyController : ApiController
  {
      .......
  // UPDATE
      [Microsoft.AspNet.Mvc.HttpPut]
      public void Update()
      {
          try
          {
              var item = new Item()
              {
                  UserName = Request.Form["UserName"]
              };
              _itemRespository.Update(item);
          }
          catch (Exception e)
          {
              Debug.WriteLine(e.Message);
          }
      }
  </code></pre>
  
  <p>What I got:</p>
  
  <blockquote>
    <p>Error CS1061  'HttpRequestMessage' does not contain a definition for 'Form' and no extension method 'Form' accepting a first argument of type 'HttpRequestMessage' could be found (are you missing a using directive or an assembly reference?)   MyProject.DNX 4.5.1 </p>
  </blockquote>
  
  <p>There is a <a href="https://stackoverflow.com/questions/23277058/post-throws-httprequestmessage-does-not-contain-a-definition-for-form">similar question</a>, but I don't see help me.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>The link uses <code>POST</code> to pass the data to the method. He passed <code>string value</code> in the method. In another word, he knows the value in advance. Well, in my case I use jqgrid to edit my data. After I click the submit button, I think that the edited data is from the <code>Request Form</code>. I don't know it yet in advance. </p>