1π
β
The people who set up anotherurl.com
have configured it to not allow requests via JavaScript from sites other than their own. This is a feature of HTTP / CORS.
For further reading, the Mozilla documentation explains a little more about what is going on:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS#Access-Control-Allow-Origin
0π
If you are using chrome you can get an extension to ignore xframe-headers. donβt know how to solve it in production though
-1π
I would say that as vue-resource is deprecated from 2.0 v you should look at newer API like this one here β https://github.com/mzabriskie/axios
Axios is powerful-promise based HTTP client for the browser and node.js
Source:stackexchange.com