Как можно побороть проблему?
resulted in a 404 Not Found
response:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="t (truncated...)
at vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
109▕ if ($summary !== null) {
110▕ $message .= ":\n{$summary}\n";
111▕ }
112▕
➜ 113▕ return new $className($message, $request, $response, $previous, $handlerContext);
114▕ }
115▕
116▕ /**
117▕ * Obfuscates URI if there is a username and a password present
$client = new \GuzzleHttp\Client();
try {
$client->get(
$url);
}
catch (GuzzleHttp\Exception\ClientException $e) {
$response = $e->getResponse();
$responseBodyAsString = $response->getBody()->getContents();
}