title: Not able to make an ajax call by CROS Request
body: <p>I am get below error while making a CROS request. Can any one please let me know If I am missing any other settings? </p>
  
  <p>Error on Console :  <strong><em>Failed to load resource: the server responded with a status of 401 (Unauthorized)</em></strong></p>
  
  <p>Settings done on web.config on local host application. </p>
  
  <pre><code>&lt;add name="Access-Control-Allow-Credentials" value="true" /&gt;
  &lt;add name="Access-Control-Allow-Methods" value="*" /&gt;
  &lt;add name="Access-Content-Allow-Headers" value="Content-Type" /&gt;                 
  &lt;add name="Access-Control-Allow-Origin" value="*" /&gt;
  </code></pre>
  
  <p>My Ajax Call </p>
  
  <pre><code>var favoriteWebPartFeedsUrl = 'http://localhost/locator.aspx?name=Common.History.Case&amp;RenderAs=feed&amp;ContentType=xml'   
  $.ajax({
      type: "GET",    
      url:favoriteWebPartFeedsUrl,
      dataType: "json",   
      processdata: true,
      crossDomain: true,
      xhrFields: {
      withCredentials: true
      },
      success: function(response) {
          console.log("Favorite webpart is loaded", response);;
      },
      error: function (e) {                
          console.log('Featching Favorite webpart FAILED');
      }   
  });
  </code></pre>