Sometimes, you may want to send HTTP request without verifying SSL in your local environment, you can do like so:
1return Http::withoutVerifying()->post('https://example.com');
If you want to set multiple options, you can use withOptions
.
1return Http::withOptions([2 'verify' => false,3 'allow_redirects' => true4])->post('https://example.com');
Tip given by @raditzfarhan