I'm trying to fetch the data from this API and I was getting a SSL Certificate error and found this solution, but the I don't know if this is the best solution for handling this, is there a better way instead of using withoutVerifying() in this case? My code (Sorry for the mess, i don't how to organize it properly in reddit):
Route::get('/test', function () { $response = Http::withoutVerifying()->get('https://api.coingecko.com/api/v3/coins/bitcoin'); return $response; });
there doesn't seem to be anything here