public function send($method, $endpoint, $data = [])
	{
		try
		{
			$request = $this->client->createRequest($method, $endpoint, ['body' => json_encode($data)]);
			return new Response($this->client->send($request));
		}
		catch(GuzzleExceptions\RequestException $e)
		{
			// pass the exception to a helper method,
			// which will figure our what kind of 
			// exception to throw
			return $this->handleError($e);
		}
	}