<?php

require 'vendor/autoload.php';

// Create a client with a base URI

$client = new \GuzzleHttp\Client(['base_uri' => 'https://rbt5.namnguyen68.repl.co']);

// Send a request

$response = $client->request('GET', 'html/begin');

$body = $response->getBody();

echo $body;

// Send a request

$response = $client->request('GET', 'title/a');

$body = $response->getBody();

echo $body;

// Send a request

$response = $client->request('GET', 'body/begin');

$body = $response->getBody();

echo $body;

?>

<?php

// Create a client with a base URI

$client = new \GuzzleHttp\Client(['base_uri' => 'https://rbt5.namnguyen68.repl.co']);

// Send a request

$response = $client->request('GET', 'html/end');

$body = $response->getBody();

echo $body;

?>