title: SyntaxError: Unexpected token C in JSON at position 0 - Ionic 2 Http GET request
body: <p>I am trying to perform a <code>GET</code> request and retrieve the data from the response.</p>
  
  <pre><code>this.http.get('http://localhost:8888/maneappback/more-items.php').subscribe(res =&gt; {
      console.log(res.json());
  }, (err) =&gt; {
      console.log(err);
  });
  </code></pre>
  
  <p>I am getting the error <code>SyntaxError: Unexpected token C in JSON at position 0</code>. I am also assuming that the error is related to the request.</p>
  
  <p>On my server side, I have the data being sent like this (PHP):</p>
  
  <p><code>echo json_encode($array);</code></p>