How to add CORS request in header in Angular 5
In my experience the plugins worked with HTTP but not with the latest httpClient. Also, configuring the CORS response headers on the server wasn’t really an option. So, I created a proxy.conf.json file to act as a proxy server. This is for development purposes only. Read more about this here. proxy.conf.json file: { “/posts”: { … Read more