Hi M3 developer,
I try to consume a REST M3 web service by angular but the server responds with a CORS error (you can find the screetshoot attached)

I have browsed the cases in infor support on this subject. I found that :
-I must add the domain in mi.cors.allowed.domains (attached a screenshot) .

-I must to enable basic authentification in default router,i use http port ((attached a screenshot)):

-My code is very simple and I added in my header ( headers.append('Access-Control-Allow-Origin', 'http://localhost:4200');).

I tried all solution but the problem still existing.
Could you please help me .
Best Regards