dwyl/learn-aws-lambda

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

Open

#77 geöffnet am 30. Apr. 2016

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (206 Forks)batch import
enhancementhelp wantedquestion

Repository-Metriken

Stars
 (1.037 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 16m) (1 gemergte PR in 30 T)

Beschreibung

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