OData / ODataSamples

Samples: For ODataLib, OData Web API, RESTier, etc.
http://odata.github.io/
Other
293 stars 222 forks source link

CORS support for V2 Northwind #145

Open boghyon opened 3 years ago

boghyon commented 3 years ago

Same as https://github.com/OData/ODataSamples/issues/29, but this issue is about enabling CORS for the V2 Northwind service as it's still one of the most popular OData services used for tutorials and demos.

Sample: https://embed.plnkr.co/ke8FKULI3ruG5qlM?show=manifest.json,preview:?sap-ui-xx-componentPreload=off The above plunk should display a list of items if CORS is enabled.


In response to @mikepizzo https://github.com/OData/ODataSamples/issues/29#issuecomment-871552009

boghyon commented 2 years ago

Hi @mikepizzo, there are still many enterprise applications that leverage OData V2 services. For demo, tutorials, and bug reports, it would be nice if at least the V2 Northwind service could support CORS - like the V4 TripPin already does thanks to https://github.com/OData/ODataSamples/issues/29