Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.
This repository was 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

@360synertech-dev1

Description

@360synertech-dev1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions