I am running a hosted Instance of Nextcloud and I cannot modify the configuration of the webserver. Is there any App/Setting/thing I can do, make the instance reply to the OPTIONS preflight request, such that I can authorize domains to query data?
Please see the below Image that shows the failing OPTIONS request of the browser, in order to figure out if the desired request to that api is OK.
Not sure what you mean by »app« here … But let me explain. I have a hosted/managed Nextcloud Instance on »domaina.com« and and would like to create a website for »domainb.com«. The website shall pull some files from the nextcloud instance, so the browser i going to make an OPTIONS request to »domaina.com«.
Since I cannot modify the webserver setup, I am searching for a way to add those CORS Routes (http OPTION) and needed headers, such that the website from »domainb.com« finally may pull the data.
Using your glossary here, I think the website is what you refer to as app.