Many would have faced the problem of CORS at one point in their AWS journey when creating APIs using API Gateway. I feel that in many organisations, the power of API Gateway is very under-used, under-evaluated and under-appreciated.

I tried to read AWS documentation but after various discontinuous attempts over the period of few months, I am able to understand some basics now.

API Gateway offers various integrations and many of us would have wondered about the use of Mock integration other than for testing purpose.

In case a fallback domain is required, either we can make the logic change in Integration using VTL.

Related Articles