Apr 7, 2021 5:38 PM
There is a reason why I can not use the Fetch API to GET a publicly accessibly file?
I am uploading a CVS data file into the file manger and would like GET and process that data with Vue to render it on the page. Depending on what file type I request sometimes I get a CORS error and sometimes I do not.
Am I missing a setting to allow GET requests to publically accessible files? (the file path directs just fine in the URL bar of a browser)?
Apr 8, 2021 12:11 PM
Would you mind adding your code block so we can see?
@tjoyce , what do you think?
Apr 8, 2021 5:40 PM
@TMehlhorn - I'm not sure what server you're using to run your Vue code but... are you able to use the server as a proxy and send that to the Vue code?
like, in php I would do
essentailly creating my own proxy and then have Vue call the url to my php script instead of the CSV directly