let formData = new FormData()
this.files.forEach((item, i) => {
formData.append(i, item)
})
axios.post(`${ this.url }appeals`, {
"files": formData
}).then(res => console.log(res))
var formData = new FormData();
var imagefile = document.querySelector('#file');
formData.append("image", imagefile.files[0]);
axios.post('upload_file', formData, {
headers: {
'Content-Type': 'multipart/form-data'
}
})