Esempio n. 1
0
 /**
  * Perform an OAuth-2-authorized GET request to the Dropbox API.  Will automatically
  * fill in "User-Agent" and "locale" as well.
  *
  * @param string $host
  *    Either the "API" or "API content" hostname from {@link getHost()}.
  * @param string $path
  *    The "path" part of the URL.  For example, "/account/info".
  * @param array|null $params
  *    GET parameters.
  * @return HttpResponse
  *
  * @throws Exception
  */
 function doGet($host, $path, $params = null)
 {
     Checker::argString("host", $host);
     Checker::argString("path", $path);
     return RequestUtil::doGet($this->clientIdentifier, $this->accessToken, $this->userLocale, $host, $path, $params);
 }