dwyl/learn-aws-lambda

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

Open

#77 aperta il 30 apr 2016

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (206 fork)batch import
enhancementhelp wantedquestion

Metriche repository

Star
 (1037 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor