How to setup CORS for AWS API Gateway with Lambda

Issue #1051 &#xA; You build an API on API Gateway backed by a Lambda, deploy it, then call it from your web app. The request fails before it even returns data: &#xA; Access to fetch at 'https://api.example.com/items' from origin&#xA; 'https://app.example.com' has been blocked by CORS policy:&#xA; No 'Access-Control-Allow-Origin' header is present on the requested resource.&#xA; The API works fine…