public function delete($url, $data = [], $headers = [], $curl_opts = []) {
        $curl_opts[CURLOPT_CUSTOMREQUEST] = 'DELETE';
        return $this->load($url, $data, $headers, $curl_opts);
    }
public function delete($url, $data = [], $headers = [], $curl_opts = []) {
        $curl_opts[CURLOPT_CUSTOMREQUEST] = 'DELETE';
        return $this->load($url, $data, $headers, $curl_opts);
    }
public function delete ( $ url , $ data = [ ] , $ headers = [ ] , $ curl_opts = [ ] ) { $ curl_opts [ CURLOPT_CUSTOMREQUEST ] = 'DELETE' ; return $ this -> load ( $ url , $ data , $ headers , $ curl_opts ) ; }
DELETEs data from the server
@param string $url The URL to grab
@param array $data The data to pass
@param array $headers additional HTTP options
@param array $curl_opts additional CURL options
@return string
@throws \Exception
DELETEs data from the server