examples icon indicating copy to clipboard operation
examples copied to clipboard

CORS headers needed on aws-python-rest-api-with-dynamodb example

Open mikelmaron opened this issue 3 years ago • 0 comments

In https://github.com/serverless/examples/tree/master/aws-python-rest-api-with-dynamodb, cors: true is set in configuration of each endpoint, but that only covers pre-flight CORS requests. Need to add headers in the response object as well, per https://www.serverless.com/blog/cors-api-gateway-survival-guide

mikelmaron avatar Aug 16 '20 19:08 mikelmaron