I\'m trying to upload files to a service on a different domain using CORS, but they keep failing due to the origin being denied. As far as I can see the correct headers are bein
Try adding Cache-Control and Pragma to the list of allowed headers in the preflight. The full header should look like this:
Access-Control-Allow-Headers: Cache-Control, Pragma, Origin, Authorization, Content-Type