examples
examples copied to clipboard
CORS error for ALB + Lambda
I'm using the Lambda +ALB for by post api and is getting the CORS error when calling from a different domain where my frontend code is deployed. I did fix it when this lambda was integrated with API Gateway, but dont see any similar approach for ALb + Lambda. Can you please let me know how to fix CORS error for a path based routing in ALB which points the target to a lambda ?
Same here. It looks like ALB does not like seeing CORS-related headers returned by the Lambda function.
Can someone confirm this?