first composer require guzzlehttp guzzle use GuzzleHttp Client; function curl_get($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT...
use GuzzleHttp to send a post request, and the returned data is 404 , resulting in a link status of 404 ; . then laravel will report back in the form of an error. How to make him not report an error? Code: $response = $http->post($url, ...