CORS
The browser rule that decides which other websites may call your API from their pages.
CORS lets a server list which origins, methods, and headers a browser may use cross-origin; it protects browser users, not the server.
Loading interactive…
Examples
CorsLayer::new().allow_origin([HeaderValue::from_static("https://maplestreettools.example")])lets that site's pages read answers;curlignores CORS entirely.
See also