src/Upwork/API/AuthTypes/OAuthPHPLib.php
public function request($type, $url, $params = array())
    {
        ApiDebug::p('running request from ' . __CLASS__);

        $this->_getOAuthInstance();

        $request = new \OAuthRequester(ApiUtils::getFullUrl($url, self::$_epoint), $type, $params);
        $data = $request->doRequest(0, self::_getCurlOptions());

        ApiDebug::p('got response from server', $data);

        return $data['body'];
    }
public function request($type, $url, $params = array())
    {
        ApiDebug::p('running request from ' . __CLASS__);

        $this->_getOAuthInstance();

        $request = new \OAuthRequester(ApiUtils::getFullUrl($url, self::$_epoint), $type, $params);
        $data = $request->doRequest(0, self::_getCurlOptions());

        ApiDebug::p('got response from server', $data);

        return $data['body'];
    }
Do request

@param   string $type Type of request
@param   string $url URL
@param   array $params (Optional) Parameters
@access  public
@return  mixed