Skip to content
New issue

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

How to *programatically* enable CORS for your API Gateway API? #77

Open
nelsonic opened this issue Apr 30, 2016 · 1 comment
Open

How to *programatically* enable CORS for your API Gateway API? #77

nelsonic opened this issue Apr 30, 2016 · 1 comment

Comments

@nelsonic
Copy link
Member

nelsonic commented Apr 30, 2016

Enabling CORS via the Web UI is easy: http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors.html
what we need is a way to do it using the aws-sdk so that we can deploy our API with a single command.

@chisNaN
Copy link
Member

chisNaN commented Aug 8, 2016

Once you have "enabled cors" don't forget to THEN click on "deploy API" again (otherwise it won't work)
But sorry not to reply the initial question(((

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

No branches or pull requests

2 participants