title: .Net Web API 2 Call from a different C# Application
body: <p>I have a .net web api 2, and i want to call the method listed below by an external windows forms application and i couldn't find a way to call it, any ideas?</p>
  
  <pre><code>  public class UsersController : ApiController
      {
          [Route("api/Put/{id}/{maping}/{data}")]
          [ResponseType(typeof(object))]
          [AcceptVerbs("GET", "POST")]
  
          public IHttpActionResult Put(int custId, [FromBody]Tuple&lt;string,string&gt; mapping, [FromBody]string data)
          {
              try
              {
                  // ...... work to do
                  var result = new { Success = "success", ErrorMessage = "No Errors", c_CustGuid = Guid.NewGuid().ToString("B") };
                  return Ok(result);
              }
              catch(Exception ex) { return InternalServerError(ex); }
          }
      }
  </code></pre>