I have created an API endpoint with Serverless(serverless.com) which I expose through API Gateway. I\'m getting following error though I have enabled CORS from the
Response should have, If you are using AWS lamda, set response headers as follows. Configuration on API Gateway only will not work
headers: { 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*', },