I set Access-Control-Allow-Headers in apache conf as:
Header set Access-Control-Allow-Headers "X-Requested-With"
Then set the same value in laravel-cors config:
'allowed_headers' => ['X-Requested-With']
Then requests will be CORS blocked.
What't the reason of this?
I set Access-Control-Allow-Headers in apache conf as:
Header set Access-Control-Allow-Headers "X-Requested-With"
Then set the same value in laravel-cors config:
'allowed_headers' => ['X-Requested-With']
Then requests will be CORS blocked.
What't the reason of this?