dwyl/learn-aws-lambda

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

Open

#77 opened on Apr 30, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (206 forks)batch import
enhancementhelp wantedquestion

Repository metrics

Stars
 (1,037 stars)
PR merge metrics
 (Avg merge 16m) (1 merged PR in 30d)

Description

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.

Contributor guide