Delete method and put method working