title: API get cross domain issues - Cross-Origin Read Blocking (CORB)
body: <p>I'm trying to use API to get information about a specific user based on user ID. I need to use basic auth and pass some headers with my call. 
  I'm getting this:</p>
  
  <pre><code>Cross-Origin Read Blocking (CORB) blocked cross-origin response  "rest/user/getProfile?callback=jQuery224033348109431646855_1548684613983&amp;userId=24068..." with MIME type text/plain.
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>$.ajax
    ({
      type: 'GET',
      crossDomain: true,
      async: false,
      url: 'example_URL_/api/user/getProfile',
      headers: {
        "Accept": "application/json",
        "Content-Type": "application/json",
      },
      beforeSend: function (xhr) { xhr.setRequestHeader("Authorization", "Basic ZHVubmVzYXBpskjoi43u5409543o9tI654kjhugjy"); },
      dataType: 'jsonp',
      data: { "Id": "1234" },
      success: function (data) {
        console.log(data);
      },
      error: function (xhr, status, error) {
        console.log(xhr);
        console.log(status);
        console.log(error);
      }
    });
  </code></pre>
  
  <p>is there anything I'm missing?</p>