I am trying to request whole html page using HttpClient
module.
This is my code:
this.http.get('http://google.com')
.subscribe( data => {
console.log(data);
});
This is what I see in chrome network tab
This is the error that I get.
How can I do it properly?