A Complete Guide to CORS (Cross-Origin Resource Sharing) for REST APIs
CORS is an HTTP header-based method that allows a server to specify any origins (domain, scheme, or port) other than its own from which a browser should allow resources to be loaded.