I use this package and it didn\'t work (https://github.com/barryvdh/laravel-cors)
addSMS() { axios.post(\'https://smsmisr.com/api/webapi\', {
Update config/cors.php
'supportsCredentials' => false, 'allowedOrigins' => ['*'], 'allowedHeaders' => ['*'], 'allowedMethods' => ['*'], // ex: ['GET', 'POST', 'PUT', 'DELETE'] 'exposedHeaders' => ['*'], 'maxAge' => 0, then run php artisan config:cache command i think it will help you