angular7 http get Reason: CORS header ‘Access-Control-Allow-Origin’ missing code example
Example: adding cors in angular
"architect": {
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "project-name:build",
"proxyConfig": "src/proxy.conf.json"
},
}
}