Angular2 - http.get not calling the webpi
问题 I don't know why this command runs properly but I can't find any log of calls in Fiddler... let z = this.http.get('http://localhost:51158/api/User/TestIT?idUser=0') The code pass into this step but If I try to catch all the http request using fiddler, I can't find any call... Do you have idea on what is happening ? Thanks 回答1: To initiate a request and receive a response you can add map() and .catch() to return an Observable response from your method. Example Service: import { Http, Response