Handle for PUT and DELETE http methods.