Imagine a common scenario where you have a website, hosted at
https:\\www.mywebsite.com\ which needs to make requests to a backend.
If the server is hosted on a slightly different origin (i.e. different subdomain, port, etc.) the browser will trigger a CORS request. For example if the server was at
I am wondering, therefore, if it would make sense to expose server-side endpoints on the same origin but on a different path, perhaps somewhere such as