I was building an Angular2 app and use http.get to get JSON data.
The issue is that for a local file, it is working perfectly.
this.http.get('data.json').map((res:Response) => res.json())
But I am not able to get anything when the url is external. The url has permissions for GET. There is not even a GET request being shown in the console messages.
Moreover, if I try to do GET Request on this same url in nodejs using a library like 'request', it works fine too. Can I know what are the possible reasons for the same?