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協議錯誤在連接