CORS Problem Uploading to Server Using ES3Cloud
Posted: Sat Dec 04, 2021 8:03 am
I can download data from my external webserver using the ES3Cloud.DownloadFile() method successfully in WebGL, but when I try to upload data to my server using the ES3Cloud.DownloadFile() method, I get an error saying CORS is not set. I recently found that my webserver says that it blocks OPTION requests and there is no way to change this for now. When looking in the Firefox browser's console I have found out that when Uploading files, the application is sending an OPTION request and not a POST like when it downloads and this seems to be the problem. My question is, is there anything I can modify to make it not send OPTION and send a POST request instead? Thanks