I want to know if it is possible to send PUT, DELETE request (practically) through java.net.HttpURLConnection
to HTTP-based URL.
I have read so many articles describing that how to send GET, POST, TRACE, OPTIONS requests but I still haven't found any sample code which successfully performs PUT and DELETE requests.
I would recommend Apache HTTPClient.
Then in your code :
there is a simple way for delete and put request, you can simply do it by adding a "
_method
" parameter to your post request and write "PUT
" or "DELETE
" for its value!