title: What's difference between crossorigin anonymous and use-credentials
body: <p>from MDN</p>
  
  <p>anonymous</p>
  
  <blockquote>
    <p>A cross-origin request (i.e., with Origin: HTTP header) is performed. But no credential is sent (i.e., no cookie, no X.509 certificate, and no HTTP Basic authentication is sent). If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin: HTTP header), the image will be tainted and its usage restricted.</p>
  </blockquote>
  
  <p>use-credentials</p>
  
  <blockquote>
    <p>A cross-origin request (i.e., with Origin: HTTP header) performed with credential is sent (i.e., a cookie, a certificate, and HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials: HTTP header), the image will be tainted and its usage restricted.</p>
  </blockquote>
  
  <p>but, what's the usage difference between them.</p>