Post value to webapi controller
<p>Here is my WebAPi controller and html form. The request is correctly routed to the method in the controller by myValue is always null. I thouht this was a valid way to post getting it from some tutorials. </p>

<p>Controller:</p>

<pre><code>[Route("add")]
public string Post([FromBody]string  myValue)
{
    return string.Format("HAIAA: [{0}]" , myValue);
}
</code></pre>

<p>View:</p>

<pre><code>&lt;form id="formOne" method="post" action="ninja/add"&gt;
    &lt;input type="text" name="myValue" /&gt; 
    &lt;input type="submit" value="submit" /&gt;
&lt;/form&gt;
</code></pre>