I ran into a small inconvenience with CORS while developing against the new awesome DW API.
When sendinga POST request against the "/dwapi/ecommerce/products" endpoint I started getting the following error.
So i figured i'd set up a local version of the API, which I then could add the <add name="Access-Control-Allow-Origin" value="*" /> custom header to solve this issue.
However I got this error instead:
It seems like the OPTION preflight request is not getting a HTTP ok status, which I'm not finding a good solution to fix (other than using a proxy)