protected function buildUrl($path)
    {
        $path = str_replace('%2F', '/', $path);
        $path = str_replace(' ', '%20', $path);

        return rtrim($this->base, '/') . '/' . $path;
    }
protected function buildUrl($path)
    {
        $path = str_replace('%2F', '/', $path);
        $path = str_replace(' ', '%20', $path);

        return rtrim($this->base, '/') . '/' . $path;
    }
protected function buildUrl ( $ path ) { $ path = str_replace ( '%2F' , '/' , $ path ) ; $ path = str_replace ( ' ' , '%20' , $ path ) ; return rtrim ( $ this -> base , '/' ) . '/' . $ path ; }
Returns the URL to perform an HTTP request.

@param string $path

@return string
Returns the URL to perform an HTTP request .