title: Request doesn't pass access control check: No 'Access-Control-Allow-Origin'
body: <p>I am just trying to use <code>mocky.io</code> from my <code>http://localhost:8080</code></p>
  
  <p>But getting this error:</p>
  
  <blockquote>
    <p>XMLHttpRequest cannot load <a href="http://www.mocky.io/v2/5715f13a1100004d1187d9e1" rel="nofollow">http://www.mocky.io/v2/5715f13a1100004d1187d9e1</a>. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<a href="http://localhost:8080" rel="nofollow">http://localhost:8080</a>' is therefore not allowed access.</p>
  </blockquote>
  
  <p>My request looking like that:</p>
  
  <pre><code>let headers = new Headers();
    headers.append('Content-Type', 'application/json');
    headers.append('Access-Control-Allow-Origin', '*');
    this.people = http.get('http://www.mocky.io/v2/5715f13a1100004d1187d9e1', { headers: headers })
      .map(response =&gt; response.json());
  </code></pre>