public function delete($url) { $ch = $this->initRequest($url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE"); return $this->execute($ch); }