We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run the example-projects/web-api-custom-cors and test the following request:
curl 'https://xxxxxxx.execute-api.eu-west-1.amazonaws.com/latest/echo' -H 'Origin: https://www.foo.bar' -vvvv
Should not return following header since Origin is not claudiajs.com:
Origin
claudiajs.com
Access-Control-Allow-Origin: *
Returns header:
The text was updated successfully, but these errors were encountered:
you forgot -X OPTIONS for preflight requests in Curl. Browsers use that to determine CORS
Sorry, something went wrong.
No branches or pull requests
Expected behaviour:
Run the example-projects/web-api-custom-cors and test the following request:
Should not return following header since
Origin
is notclaudiajs.com
:What actually happens:
Returns header:
The text was updated successfully, but these errors were encountered: