To allow CORS for all domains, the server should set the Access-Control-Allow-Origin header to ________.

  • *
  • localhost
  • www.example.com
  • Same-Origin
To allow CORS for all domains, the server should set the Access-Control-Allow-Origin header to *, which means any domain is allowed to access the resources. This should be done with caution as it can pose security risks if used improperly.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *