I have a problem to append anyhing in form data. Its always empty. How can i append image file and some other data ?
var data = new FormData();
fileResult = this.$els.fileIntroImage.files;
data.append('name',this.property_credentials.name);
data.append('default_image',this.$els.fileIntroImage.files[0],File);
console.log('data',data);
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2iVkdYo
via IFTTT
Aucun commentaire:
Enregistrer un commentaire