Created
October 27, 2015 01:07
-
-
Save tjmcewan/acf5eb29a0c1732dffdb to your computer and use it in GitHub Desktop.
Excerpt from awsm.json that shows CORS setup for an API Gateway endpoint.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"default": { | |
"statusCode": "200", | |
"headers": { | |
"Access-Control-Allow-Origin": { | |
"type": "string" | |
} | |
}, | |
"responseParameters": { | |
"method.response.header.Access-Control-Allow-Origin": "'http://CORSdomain.com'" | |
}, | |
"responseModels": { | |
"application/json": "Empty" | |
}, | |
"responseTemplates": { | |
"application/json": "" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment