Hi ,

I want to ping a url for making a delete action.

So i need to pass an xml also.

I have to use Http Delete but i am not getting how to pass the xml
using http delete.

HttpClient httpclient = new DefaultHttpClient();
                HttpDelete httpDel = new HttpDelete("http://
www.codemunch.com/jobs/delete/");
                StringEntity stringEntity = new
StringEntity(writer.toString());

                ((HttpResponse) httpDel).setEntity(stringEntity);
                HttpResponse rsp = httpclient.execute(httpDel);

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to