public function getUrlStr()
    {
        $str = (!empty($this->resource)) ? $this->resource : '';

        /* x-www-form-encoded posts encodes query params in the body */
        if (!$this->isWWWFormURLEncodedPost()) {
            $str .= (!empty($this->params)) ? ('?' . $this->buildQuery()) : '';
        }
        return $str;
    }
public function getUrlStr()
    {
        $str = (!empty($this->resource)) ? $this->resource : '';

        /* x-www-form-encoded posts encodes query params in the body */
        if (!$this->isWWWFormURLEncodedPost()) {
            $str .= (!empty($this->params)) ? ('?' . $this->buildQuery()) : '';
        }
        return $str;
    }
public function getUrlStr ( ) { $ str = ( ! empty ( $ this -> resource ) ) ? $ this -> resource : '' ; /* x-www-form-encoded posts encodes query params in the body */ if ( ! $ this -> isWWWFormURLEncodedPost ( ) ) { $ str .= ( ! empty ( $ this -> params ) ) ? ( '?' . $ this -> buildQuery ( ) ) : '' ; } return $ str ; }
Get the resource and params as a URL string.

@return string The request body.
Get the resource and params as a URL string .