Answer the question
In order to leave comments, you need to log in
How to find out which request goes?
i have this code
return this.http.get('http:test/dsp-campaigns', options)
.map((response: Response) => {
console.log(response);
return response.json()
})
Answer the question
In order to leave comments, you need to log in
return this.http.get('http:test/dsp-campaigns', options)
.map((response: Response) => response.json()).subscribe(
data => { console.log(data) },
error => { console.log(error) }
);
Let's start with the fact that this request should be displayed in the network tab.
If you need to wait until it comes to this function, call it manually in the console.
If it is not on the tab anyway and there are no errors (not uncaught, in general), then it is a trite error in the code / module.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question