I have a file that i wants to append it properties to formData before sending it to the server for upload but can't seem to appending. here is the code
uploadFile() {
let data = new FormData();
data.append('image', this.file, this.file.name);
console.log(data);
}
am getting an empty object in the console even though the file variable has the file data. is the anything am missing?