I am getting this error in UI (AngularJs) side.
Access to XMLHttpRequest at https://MyLinuxServer/MyAPI/ from origin https://MyWindowsServer/ has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
Deployed my AngularJS project in Windows server (MyWindowsServer) using IIS. Internally it calls APIs (Python) deployed in a Linux Box (MyLinuxServer) based on UI events (like button click).
I have tested the APIs in POSTMAN they are working fine.
The portal is launched successfully and from my local machine I am able to browse my application's dashboard (No API calls during this time) but getting this above error when ever APIs are called (UI event) from Angular side to Linux side.
Can anyone give me some clue to investigate