Enable CORS for API Gateway in Cloudformation template

后端 未结 5 1980
礼貌的吻别
礼貌的吻别 2020-12-08 10:36

I\'m creating AWS Cloudformation template for my environment and I can\'t find a way to enable CORS for API Gateway method.

I can configure it using AWS console (her

5条回答
  •  甜味超标
    2020-12-08 11:13

    it only create option method, there are still work need to do on GET,POST,etc method reponse, I have created a completed hello world cloudformation

    https://github.com/seraphjiang/aws-cors-cloudformation/tree/master

提交回复
热议问题