public function request($method, $url, array $data = [])
    {
        return $this->request->send($this->baseUrl.'/'.$url, $method, $data);
    }
public function request($method, $url, array $data = [])
    {
        return $this->request->send($this->baseUrl.'/'.$url, $method, $data);
    }
public function request ( $ method , $ url , array $ data = [ ] ) { return $ this -> request -> send ( $ this -> baseUrl . '/' . $ url , $ method , $ data ) ; }
Send a HTTP request to a given URL with given data.

@param string $method
@param string $url
@param array  $data

@return mixed
Send a HTTP request to a given URL with given data .