An error problem
When GuzzleHttp makes an HTTPS request, it reports the following error
cURL error 60: SSL certificate problem: self signed certificate
The solution
The difference between an HTTP request and an HTTPS request is that Guzzle needs to pass in a configuration item in the constructor,
$client = new \GuzzleHttp\Client(['verify' =>false]);