response = {
'statusCode': 200,
'headers': {
'Access-Control-Allow-Headers': 'Content-Type',
'Access-Control-Allow-Origin': 'http://example.com',
'Access-Control-Allow-Methods': 'OPTIONS,POST,GET'
}
}
return response
上一篇:AWSAPIGateway为什么不传递HTTPHeaders到Stepfunctions?
下一篇:AWSAPIGateway无法获取Apple的/.well-known/openid-configuration