How to handle plain text, server response in Angular 2?
<p>How to handle plain text server response in Angular 2?</p>

<p>I am using the following:</p>

<pre><code>    this.http.get('lib/respApiTest.res')
    .subscribe(testReadme =&gt; this.testReadme = testReadme);
</code></pre>

<p>lib/respApiTest.res</p>

<pre><code>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim 
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
</code></pre>

<p>But I am getting a JSON format example:</p>

<pre><code>{"_body":"Lorem ipsum dolor sit amet......"}
</code></pre>

<p>Right now I'm using something like the following to handle: (this.testReadme._boby)</p>

<pre><code>    alert(this.testReadme._boby);
</code></pre>

<p>This works well but is this the way to handle plain text in Angular 2 ?</p>