Angular4 http get parse error Angular4 http get parse error json json

Angular4 http get parse error


JSON is the default expected response type. You can try forcing using "text" instead and print the result just to understand what is happening:

httpClient.get('http://some.com/endpoint/', { responseType: 'text' }).subscribe(result => {    console.log(result);});