1 Answer
- Newest
- Most votes
- Most comments
1
Ensure you have properties for CorsConfiguration for this AWS Serverless Application Model AWS::Serverless::Api
- below is an example from the documentation.
Resources: ApiGatewayApi: Type: AWS::Serverless::Api Properties: StageName: Prod Cors: AllowMethods: "'POST, GET'" AllowHeaders: "'X-Forwarded-For'" AllowOrigin: "'www.example.com'" MaxAge: "'600'" AllowCredentials: true
answered a month ago
Relevant content
- Accepted Answerasked a year ago
- asked 2 years ago
- Accepted Answerasked 2 years ago
- asked 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago