title: Cross-Domain AJAX Call
body: <p>I am trying to make a cross-domain AJAX call with the latest jQuery for the Twitch.TV API and I'm getting an error.</p>
  
  <p>Code:</p>
  
  <pre><code> $.ajax({
      type: 'GET',
      dataType: "json",
      url: "https://api.twitch.tv/kraken/search/games?q=star&amp;type=suggest",
      success: function (responseData, textStatus, jqXHR) {
          console.log("in");
          var data = JSON.parse(responseData['AuthenticateUserResult']);
          console.log(data);
      },
      error: function (responseData, textStatus, errorThrown) {
          alert('POST failed.');
      }
  });
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>XMLHttpRequest cannot load <a href="https://api.twitch.tv/kraken/search/games?q=star&amp;type=suggest" rel="nofollow">https://api.twitch.tv/kraken/search/games?q=star&amp;type=suggest</a>. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<a href="http://codeeplus.net" rel="nofollow">http://codeeplus.net</a>' is therefore not allowed access.</p>
  </blockquote>