title: Android : Unable to post data
body: <p>I am using the asp.net mvc web api and posting data  from android but unable to post data  </p>
  
  <p>I am adding here the dummy url for some reasons.</p>
  
  <p><strong>API Code :  this is the method to which i amsending data.</strong></p>
  
  <pre><code>public ActionResult Match(IEnumerable&lt;HttpPostedFileBase&gt; MatchImage)
  {
  </code></pre>
  
  <p>//Code here
      } </p>
  
  <p><strong>Android Post code</strong></p>
  
  <pre><code>HttpClient client = new DefaultHttpClient();    
              String postURL = "http://dummyurl.com/api/Match/VerifyImage";
              HttpPost post = new HttpPost(postURL);
  
                  List&lt;NameValuePair&gt; params = new ArrayList&lt;NameValuePair&gt;();
  
                   params.add(new BasicNameValuePair("MatchImage",imageData));
  
                   UrlEncodedFormEntity ent = new UrlEncodedFormEntity(params,HTTP.UTF_8);
                   post.setEntity(ent);
                  HttpResponse responsePOST = client.execute(post);  
                  HttpEntity resEntity = responsePOST.getEntity();  
                  if (resEntity != null) {     
  
                  System.out.println("--------------------&gt;&gt;&gt;"+EntityUtils.toString(resEntity));
  
  
                  }
  </code></pre>
  
  <p><strong>Responce :</strong></p>
  
  <p>{"Message":"No HTTP resource was found that matches the request URI '<a href="http://dummyurl.com/api/Match/VerifyImage" rel="nofollow">http://dummyurl.com/api/Match/VerifyImage</a>'.","MessageDetail":"No type was found that matches the controller named 'Match'."}</p>
  
  <p>Please help me..thanks</p>