Change delete method from POST to DELETE