Http get request from local file

So I’ve made a simple .html file and a simple .js script. It’s very simple, just a button that should make an http.get request once pressed. The get request does get created once I press the button, I also get a response from the request (code 200, can see the data in debugger) but I also get a 304-blocked code(blocked by CORS). I’m using jquery ajax to create the request.

My question is – I can create get requests from local file, but I can not use the data I get back… Why is that and how do I fix it?