CORS issue: Angular 5 on AWS S3 & Cloudfront and .net core webapi on IIS10 EC 2 windows server 2019

I am getting following error while accessing Angular app through browser (chrome/Edge/Firefox/Opera). API request works on direct calls from well through Postman/Fiddler. So i think there something between Cloudfront and EC2 calls and CORS policy Following is my set up. Angulr Setup: S3 Bucket with Public access Policy Cloudfront with Behavior whitelisting Headers .netcore web…

Details

CORS issue: Angular 5 on AWS S3 & Cloudfront and .net core webapi on IIS10 EC 2 windows server 2019

I am getting following error while accessing Angular app through browser (chrome/Edge/Firefox/Opera). API request works on direct calls from well through Postman/Fiddler. So i think there something between Cloudfront and EC2 calls and CORS policy Following is my set up. Angulr Setup: S3 Bucket with Public access Policy Cloudfront with Behavior whitelisting Headers .netcore web…

Details

CORS issue: Angular 5 on AWS S3 & Cloudfront and .net core webapi on IIS10 EC 2 windows server 2019

I am getting following error while accessing Angular app through browser (chrome/Edge/Firefox/Opera). API request works on direct calls from well through Postman/Fiddler. So i think there something between Cloudfront and EC2 calls and CORS policy Following is my set up. Angulr Setup: S3 Bucket with Public access Policy Cloudfront with Behavior whitelisting Headers .netcore web…

Details