request($method, $url, $options); if ($returnResponse) { return $response; } return (string)$response->getBody(); }