Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

how to return or expose these Access-Control-Allow-Methods and Access-Control-Allow-Headers ? #550

Open
360synertech-dev1 opened this issue Nov 10, 2021 · 0 comments

Comments

@360synertech-dev1
Copy link

Before you start

[X ] Update to the latest version by running composer update fruitcake/laravel-cors
[ X] Make sure that Apache/nginx/Valet are NOT also adding CORS headers

I want to know how I can return these headers in the response?

  1. Access-Control-Allow-Headers
  2. Access-Control-Allow-Methods

only Access-Control-Expose-Headers and Access-Control-Allow-Origin these are returning right now
I am using lumen 8 and the latest version of cors v2.0.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant