You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've wrote a small scheduler where I would like to send a GET request to an external API. Sending requests from my NativePHP application throws an SSL Certificate Problem.
What happened?
I've wrote a small scheduler where I would like to send a GET request to an external API. Sending requests from my NativePHP application throws an SSL Certificate Problem.
$response = Http::timeout(3)->get('https://www.codebar.ch');
How to reproduce the bug
Run
php artisan native:serve
Send a HTTP GET request within a scheduler
$response = Http::timeout(3)->get('https://www.codebar.ch');
Package Version
0.1
PHP Version
8.2
Laravel Version
10.*
Which operating systems does with happen with?
macOS
Notes
Workaround enable withoutVerifying the request.
Http::withoutVerifying()->timeout(3)->get($project->url);
The text was updated successfully, but these errors were encountered: