title: Making HTTP GET request from Chrome Extension
body: <p>I have built a chrome extension and, at time of loading, I need to make a GET request to a server (trying it now from localhost).</p>
  
  <p>Using Chrome debugger I can see that the call is made, but it is never received on the locahost server (which is running).</p>
  
  <p><strong>Javascript code:</strong></p>
  
  <pre><code>$.get( "http://localhost:8080/myproject/api/getInfo", { userId: "me" } )
    .done(function( data ) {
      alert('Received!');
  });
  </code></pre>
  
  <p>This is what I can see from Chrome debugger:</p>
  
  <pre><code>Request URL:http://localhost:8080/myproject/api/getInfo?userId=me
  Request Headers
  Provisional headers are shown
  Accept:*/*
  Origin:chrome-extension://ginkmpnhbepolafnopjackbgefh
  Query String Parameters
  view source
  view URL encoded
  userId:me
  </code></pre>
  
  <p>If I put <code>http://localhost:8080/myproject/api/getInfo?userId=me</code> directly on a browser it works well.</p>
  
  <p>What is wrong?</p>