title: How to solve No 'Access-Control-Allow-Origin' in polymer-project?
body: <p>I am exploring <code>Polymer-project 1.0</code> and the task is to  get the <code>JSON</code> and print output repeatedly.</p>
  <p>But no matter what I tried, the error below is coming. I even tried with <code>Github pages</code>, but this also gives me same error response in terminal.</p>
  <p><strong>Error</strong></p>
  <blockquote>
  <p>XMLHttpRequest cannot load <a href="https://ajax.googleapis.com/ajax/services/search/news?v=1.0&amp;rsz=8&amp;pz=1&amp;cf=all&amp;ned=in&amp;hl=en&amp;topic=tc" rel="nofollow noreferrer">https://ajax.googleapis.com/ajax/services/search/news?v=1.0&amp;rsz=8&amp;pz=1&amp;cf=all&amp;ned=in&amp;hl=en&amp;topic=tc</a>. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://rajasimon.github.io' is therefore not allowed access.</p>
  </blockquote>
  <p>Not into theming and designing the material design. All I want is for the functionality to work first. So I wrote below code:</p>
  <p><strong>index.html</strong></p>
  <pre><code>&lt;iron-ajax
    auto
    url=&quot;https://ajax.googleapis.com/ajax/services/search/news?v=1.0&amp;rsz=8&amp;pz=1&amp;cf=all&amp;ned=in&amp;hl=en&amp;topic=tc&quot;
    handle-as=&quot;json&quot;
    last-response=&quot;{{ajaxResponse}}&quot;&gt;&lt;/iron-ajax&gt;
  
    &lt;template is=&quot;dom-repeat&quot; items=&quot;{{ajaxResponse.responseData.results}}&quot;&gt;
          &lt;paper-material elevation=&quot;1&quot; class=&quot;paper-font-body2&quot;&gt;
                &lt;h1&gt;{{item.title}}&lt;/h1&gt;
                &lt;iron-image src=&quot;[[item.image.url]]&quot; style=&quot;width:800px; height:450px; background-color: lightgray;&quot; sizing=&quot;cover&quot;  preload fade&gt;&lt;/iron-image&gt;
                &lt;p&gt;{{item.content}}&lt;/p&gt;
          &lt;/paper-material&gt;
    &lt;/template&gt;
  </code></pre>
  <p><strong>Enabling</strong></p>
  <p>For debugging I installed Google Chrome app named <code>Allow-Control-Allow-Origin: *</code>. Then the above code started working.</p>
  <p><img src="https://i.stack.imgur.com/Zx3Ps.png" alt="enter image description here" /></p>
  <p>Even if I tried with iron-ajax demo will give the same result. What's happening here? Am I the one person receiving this error in the universe?</p>