public function get($url, $params = null) {
    $this->params = $params;
    $this->method = 'GET';
    $this->url = $url;

    return $this->request();
  }
public function get($url, $params = null) {
    $this->params = $params;
    $this->method = 'GET';
    $this->url = $url;

    return $this->request();
  }
public function get ( $ url , $ params = null ) { $ this -> params = $ params ; $ this -> method = 'GET' ; $ this -> url = $ url ; return $ this -> request ( ) ; }
Make a GET query

@param data

@return
Make a GET query