CORS - Cross Origin Errors (From 3rd Party Dev)
Search
CORS - Cross Origin Errors (From 3rd Party Dev)
If a 3rd Party Developer is having Cross Origin (CORS) errors when trying to work with our API, they should be able to do the following to fix the errors.
Statement from Our Developers:
So here's what our API servers are doing, which should more-or-less make CORS interfacing wide open:
and then sometimes clients will have to be set up to actually handle CORS as well (the flow is technically different -- you often have to float an OPTIONS call followed by the actual call you want to make)
lots of newer ways of making http calls from a browser will default to CORS (like `fetch`), but something like this might be helpful to them:
(see the `init.mode` piece)