2
use GuzzleHttp\Client;
try {
$this->client = new Client(['base_uri'=>'']);
$responseData = $this->client->request('URL',[
'verify' => false,
'headers' => [
'Accept' => 'application/json',
'Content-Type' => 'application/json',
],
]);
} catch (\Exception $ex) {
echo $ex->getMessage()." ".$ex->getLine()." ".$ex->getFile();
}
卷曲错误35:在连接未知SSL协议错误(见http://curl.haxx.se/libcurl/c/libcurl-errors.html)186 /无功/网络/ API /供应商/ guzzlehttp /狂饮/ SRC /Handler/CurlFactory.phpLaravel - GuzzleHttp客户投掷卷曲错误35:未知SSL协议错误在连接