Questions tagged as 'vue-resource'

1
answer

How to pass headers on request with Vue.js 2

I need to pass the header Authorization which is located in localStorage with the key of iflix-user-token , here is my code: getFilmes: function () { this.$http.get(Api.url + '/filme').then( response => {...
asked by 22.10.2017 / 15:17
0
answers

Upload Laravel + Vue.js

I need to upload some files, but there is a detail, a table will be mounted as in the figure below, I can already add to the table itself, but at the time of upload I have no idea of the procedure, I do not know if I am passing correctly, finall...
asked by 06.11.2017 / 03:25
1
answer

Access-Control-Allow-Origin Error

I am trying to make a request from one server to another to perform a registration, but this error is always returned to me:    Failed to load link : Response to   preflight request does not pass access control check: No   'Access-Control-Al...
asked by 29.12.2017 / 16:49