title: Can I pass an object to a WebApi controller using WebClient
body: <p>I am playing around with the new webapi.</p>
  
  <p>Is it possible using WebClient to pass an object or do I need to create a query string within the WebClient? this is a basic example of a model I have</p>
  
  <pre><code>public class TestModel
  {
      [Required]
      [Display(Name = "User name")]
      public string UserName { get; set; }
  
      [Required]
      [DataType(DataType.Password)]
      [Display(Name = "Password")]
      public string Password { get; set; }
  
  
  }
  </code></pre>
  
  <p>Any suggestions would be appreciated </p>