protected function getApiResponseBody($path) {
    $request = $this->createRequest($path);

    $this->log('GET ' . $request->getUrl());
    $response = $request->send();
    return $response->getBody();
  }
protected function getApiResponseBody($path) {
    $request = $this->createRequest($path);

    $this->log('GET ' . $request->getUrl());
    $response = $request->send();
    return $response->getBody();
  }
protected function getApiResponseBody ( $ path ) { $ request = $ this -> createRequest ( $ path ) ; $ this -> log ( 'GET ' . $ request -> getUrl ( ) ) ; $ response = $ request -> send ( ) ; return $ response -> getBody ( ) ; }
Example of how to query the Acquia Cloud API.

@param $path
@return string
@throws \HTTP_Request2_Exception
Example of how to query the Acquia Cloud API .