Hi,
i'm testing a webapp based on angular and i would get some information from my site on my server DB.
When i try an ajax request from my machine(angular) to my domain server i obtain this error:
Access to XMLHttpRequest at 'https://fxxx.it/xxxx' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
I have tried all possible headers in my controller (where the ajax do the request) but nothing works.
Someone have a solution about that?
Thanks for help.