Error HTTP/1.0 405 Method not Allowed
<p>I want to make an Htttp Connection Here is my code</p>

<pre><code>try
{
HttpClient client = new DefaultHttpClient();
HttpPost httpMethod = new HttpPost("http://www.google.co.in/");
String requestBody = "some text";
HttpMethod.setEntity(new StringEntity(requestBody));
HttpResponse response = client.execute(httpMethod);
textView.setText(response.getStatusLine().toString());
}
</code></pre>

<p>But i m unable to and get the "HTTP/1.0 405 Method not Allowed" error
I will be thankfull your help</p>
