I am trying to connect my Angular app with a simple REST server on express. The server only sends json data in reply to request. To add CORS suppor
json
CORS
Allow Server side that you hit from angular JS, in that case you need to allow http://localhost:8888/ because that is your server side URL, angular run on http://localhost:4200. please check the Http. then it work
http://localhost:8888/
http://localhost:4200