Webdav cors problem

hi there

im facing a problem for some time in accessing files stored in nextcloud
im trying to receive a file with it’s webdav link from an react.js application
im using axios
the problem is the cors headers
it seems like webdav does not support them and i really need to connect to webdav server with my react.js application
however it’s interesting that when i send a get request to webdav server from postman or in python there is no cors problem

here is some ways i’ve tried that don’t work:
i tried to add cors headers manually to nextcloud php files but it did not fix the problem
i set cors headers in nginx but it does not work


Did you solve this?

not yet…still trying

In my case i needed to install some “proxy” application in my provider portal to handle this.

Check this ticket maybe can help you.