How to perform a HTTP delete? All I am given is the URL

Winz picture Winz · Dec 23, 2011 · Viewed 14.8k times · Source

I'm just a starter in java and would like to know how to make a HTTP Delete call to a URL. Any small piece of code or reference material would be very helpful.

I know that the question would sound very simply, but I am in urgent of this information.

Answer

kosa picture kosa · Dec 26, 2011

DELETE, PUT, OPTIONS methods are restricted by most of the servers. Here is good discussion about this topic in SO. Are the PUT, DELETE, HEAD, etc methods available in most web browsers?