Summarize the problem
I wanna sending a HTTP GET requset within @Angular/common/HttpClint.
But there is no resopnse, even , chrome network sniffer cannot detect any network activities.
And when tried to console.log :
console.log(this.http.get("http://localhost/users"));
Then I found that the result of console was:
And chrome network sniffer didn't detect any XHR related to my action.
Why?
Can it because of using @ng-cli to create this project?
I init this Angular project via @ng-cli
when I using an exaple project(Hreos Example) download from www.angular.cn/generated/z…. There are no problems.
But each of my project that created by @ng-cil(ng new project) occours that problem
More Infos
result of console: