I have Restful WebServices, and i send POST and GET HTTP request, how to send PUT and DELTE request HTTP in httpURLConection with JAVA.
If I use the DELETE request from @BartekM, it get this exception:
java.net.ProtocolException: DELETE does not support writing
To fix it, I just remove this instruction:
// httpURLConnection.setDoOutput(true);
source: Sending HTTP DELETE request in Android