CORS: What is it?
CORS (Cross-Origin Resource Sharing) is a browser security feature that restricts web
pages from making requests to a different domain than the one that served the web page, to
prevent cross-site attacks.
CORS defines a way for servers to allow controlled access to resources from a different
origin.