CORS and Cookies
Articles and Libraries Explains CORS including some of its origin story Go CORS middleware General notes Cross-origin requests, are resource-scoped. In REST terms, the server can decide whether to allow cross-origin requests to a particular API or not. That capability is naturally exposed by the Go middleware above - and you can wrap any handlers (which correspond to paths) you have for which you want to enable CORS. In python frameworks, a @cors(....