CORS
Cross-Origin Resource Sharing: an HTTP-header based mechanism enabling servers to restrict cross-domain requests.
Definition
Cross-Origin Resource Sharing: an HTTP-header based mechanism enabling servers to restrict cross-domain requests.
Use case
Restricting frontend API calls so app.example.com can request data while malicious-site.com gets blocked.
Related terms
Documentation
Cross-Origin Resource Sharing
Why browsers block some API calls, and how servers allow them.