added curl delete method