public function delete($url, array $customHeaders = [], $data = '')
    {
        return $this->handleFailover(function() use ($url, $customHeaders, $data) {
            $response = $this->executeRequest(HttpHelper::METHOD_DELETE, $url, $data, $customHeaders);

            return $this->parseResponse($response);
        });
    }
public function delete($url, array $customHeaders = [], $data = '')
    {
        return $this->handleFailover(function() use ($url, $customHeaders, $data) {
            $response = $this->executeRequest(HttpHelper::METHOD_DELETE, $url, $data, $customHeaders);

            return $this->parseResponse($response);
        });
    }
public function delete ( $ url , array $ customHeaders = [ ] , $ data = '' ) { return $ this -> handleFailover ( function ( ) use ( $ url , $ customHeaders , $ data ) { $ response = $ this -> executeRequest ( HttpHelper :: METHOD_DELETE , $ url , $ data , $ customHeaders ) ; return $ this -> parseResponse ( $ response ) ; } ) ; }
Issue an HTTP DELETE request with the data provided

@throws Exception

@param string $url - DELETE URL
@param array  $customHeaders
@param string $data - delete body

@return HttpResponse
Issue an HTTP DELETE request with the data provided