public static function delete($url, $httpHeaders = array())
    {
        $ch = self::init($url, $httpHeaders);
        //set the request type
        curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');

        return self::processRequest($ch);
    }
public static function delete($url, $httpHeaders = array())
    {
        $ch = self::init($url, $httpHeaders);
        //set the request type
        curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');

        return self::processRequest($ch);
    }
public static function delete ( $ url , $ httpHeaders = array ( ) ) { $ ch = self :: init ( $ url , $ httpHeaders ) ; //set the request type curl_setopt ( $ ch , CURLOPT_CUSTOMREQUEST , 'DELETE' ) ; return self :: processRequest ( $ ch ) ; }
Implement a DELETE request and return output

@param string $url
@param array $httpHeaders

@return string
Implement a DELETE request and return output