-1
local server api: http://localhost:8000/heroes.jsonangular2 http.get возвращает ошибку 404?
угловые Т.С. код
this.http.get('http://localhost:8000/heroes.json')
.map(res => res.text())
.subscribe(
data => this.randomQuote = data,
err => this.logError(err),
() => console.log('Random Quote Complete')
);
но получил ошибку: