(22.06.2017, 21:03)Erwin van der Zwart Wrote: Hi,
You need same origin policy for that and send extra header, but the server side must be handling that extra header and it's not prepared for that.
So you can't do what you want to do, you must run it on the same origin..
https://en.m.wikipedia.org/wiki/Same-origin_policy
BR,
Erwin
Also when I have in the same folder these 2 files:
- data.txt
- index.html.
And in index.html I am trying to download the content of data.txt? This is on the same folder. It is very strange for me
I see also that Chrome has much precisely error description than Firefox.