I'm getting server side response. If I try with url http://localhost:3000/api/projectsList. If i'm trying to call same using proxy.config.json with angular 4 service url http://localhost:4200/bootstrap-table it is showing me 404 error. Success page from Node server , Error from angular service , API call from angular
Asked
Active
Viewed 812 times
1
-
how are you adding the proxy config? – Aravind Dec 02 '17 at 21:10
-
{ "/api/*":{ "target":"http://localhost:3000", "secure":false, "logLevel":"debug" } } – Voolapati Manohar Dec 02 '17 at 21:18
-
As Sania suggested I[Link](https://stackoverflow.com/questions/47608247/fetch-data-from-different-localhost-in-angular/47612832#47612832) have followed: – Voolapati Manohar Dec 02 '17 at 22:14
-
can you add the content of the file to post – Aravind Dec 02 '17 at 22:16