Hi i want to delete record from database, i am using following code, but record is not being deleted,
HttpClient client = new DefaultHttpClient();
HttpConnectionParams.setConnectionTimeout(client.getParams(), 10000);
HttpDelete delete = new HttpDelete(URL)
HttpResponse response = client.execute(delete);
please help me to solve it. is this a right way or is there any other method for it??