Blocked by CORS policy, No Access-control-allow-origin' error when creating AWS Lambda script