public function get($ressourceToGrab, array $parameters = null)
    {
        $this->apiRequest->clean();
        $this->apiRequest->setHeaders($this->apiConfiguration->getHeaders());
        $this->apiRequest->setParameters($this->apiConfiguration->getParameters());

        return $this->apiRequest->get($ressourceToGrab, $parameters);
    }
public function get($ressourceToGrab, array $parameters = null)
    {
        $this->apiRequest->clean();
        $this->apiRequest->setHeaders($this->apiConfiguration->getHeaders());
        $this->apiRequest->setParameters($this->apiConfiguration->getParameters());

        return $this->apiRequest->get($ressourceToGrab, $parameters);
    }
public function get ( $ ressourceToGrab , array $ parameters = null ) { $ this -> apiRequest -> clean ( ) ; $ this -> apiRequest -> setHeaders ( $ this -> apiConfiguration -> getHeaders ( ) ) ; $ this -> apiRequest -> setParameters ( $ this -> apiConfiguration -> getParameters ( ) ) ; return $ this -> apiRequest -> get ( $ ressourceToGrab , $ parameters ) ; }
Request a ressource of an api with the get http method
@param $ressourceToGrab
@param array|null $parameters
@return string
Request a ressource of an api with the get http method