echo $array[$i].' <br>';
echo $array[$i] . ' <br>';
this.file = this.$refs.file.files[0];
let formData = new FormData();
formData.append('file', this.file);
fetch('https://api.isinda.ru/table/default/gii', {
method: 'POST',
headers: {
// "Content-Type": "application/json",
},
body: formData,
})
.then(data => { return data.json()})
.then(data => { console.log(data) });
$request = Yii::$app->request;
$file = $request->post();
return $file;
, а не