squidfunk / terraform-aws-api-gateway-enable-cors

Easily add an OPTIONS method to an API Gateway resource to enable CORS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Binary Media Types in API Gateway causes OPTIONS requests failing with 500 errors

frankyhun opened this issue · comments

By using Binary Media Types set to */* in API Gateway cause OPTIONS requests failing with 500 errors. As a solution, the content_handling should be set to CONVERT_TO_TEXT in the aws_api_gateway_integration resource, see:

Released as part of 0.3.2.

ezoic increase your site revenue