title: How to include credentials when making CORS requests from Blazor?
body: <p>On a blazor client application, what is the equivalent of jQuery ajax <code>WithCredentials</code> or JavaScript <code>credentials: 'include'</code>?</p>
  
  <p>With Javascript I am able to say:</p>
  
  <pre><code>fetch('https://www.example.com/api/test', {
     credentials: 'include'
  });
  </code></pre>
  
  <p>which includes auth cookie while making request and server responds with 200. I am trying to write same with Blazor using <code>HttpClient</code>.</p>