add delete method override and curl example