title: Web API - Get Values from Querystring and Form Body
body: <p>I have an action in Web API with a route like the following:</p>
  
  <pre><code>/users/{userId}/friends
  </code></pre>
  
  <p>And I want to post a value to it with the following action:</p>
  
  <pre><code>[ActionName("friends")]
          public IHttpActionResult Friends2(string userId, [FromBody]string friendId)
  </code></pre>
  
  <p>I am posting JSON like:</p>
  
  <pre><code>{ "friendId": "123" }
  </code></pre>
  
  <p>However, the friendId is always null. I think this is because Web API only allows 1 parameter when specifying [FromBody].</p>
  
  <p>So how can I post to this action with the userId coming from the querystring and the friendId coming as JSON in the body?</p>