title: Why does google chrome give error unknown url scheme for ajax get request to ebay-api endpoint
body: <p>I am trying to make a simple get request to the ebay api and my code is returning an error only in chrome. In safari and firefox the following code returns the data as expected. Chrome gives the following error:
   GET about:blank net::ERR_UNKOWN_URL_SCHEME in the console. </p>
  
  <p>In the network inspector I see 307 internal redirect for the get request. Followed by a request name about:blank. Inspecting the Header reveals a request URL set to about:blank. </p>
  
  <p>I think my original request is redirecting to about:blank but this is only happening in chrome and I am not sure why. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$.ajax({
    dataType: "jsonp",
    method: "GET",
    url:"https://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findCompletedItems&amp;SERVICE-VERSION=1.7.0&amp;SECURITY-APPNAME=RoryGarc-priceGen-PRD-55d8a3c47-c767674d&amp;GLOBAL-ID=EBAY-US&amp;RESPONSE-DATA-FORMAT=JSON&amp;callback=jsonpcallback&amp;REST-PAYLOAD&amp;keywords=a7s+ii&amp;itemFilter(0).name=Condition&amp;itemFilter(0).value=3000&amp;itemFilter(1).name=SoldItemsOnly&amp;itemFilter(1).value=true&amp;paginationInput.entriesPerPage=10&amp;paginationInput.pageNumber=1",
    success: function (html) {
          alert('successful : ' + html);
      },
      error: function (jqXHR, exception) {
          if (jqXHR.status === 0) {
              alert('Not connect.\n Verify Network.');
          } else if (jqXHR.status == 404) {
              alert('Requested page not found. [404]');
          } else if (jqXHR.status == 500) {
              alert('Internal Server Error [500].');
          } else if (exception === 'parsererror') {
              alert('Requested JSON parse failed.');
          } else if (exception === 'timeout') {
              alert('Time out error.');
          } else if (exception === 'abort') {
              alert('Ajax request aborted.');
          } else {
              alert('Uncaught Error.\n' + jqXHR.responseText);
          }
      }
  
  });
  
  function jsonpcallback(jsdata) {
    console.log(jsdata.findCompletedItemsResponse[0].searchResult[0].item);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>