php - Is it possible to reach the uploaded file by an http request in Angular 9 from $_FILES?

one text

Solution:

append your file into Formdata and send this

detectFiles(event) {
   var formData = new FormData();
   formData.append("file", event.target.files[0]);  
   this.httpClient.post<any>('http://localhost/test/uploadFile.php', formData)
     .subscribe( (response) => { console.log('uploading is done: ' + response); },
                 (error) => { console.log('ERR during the uploading: ' + error); }  
   );
}

Source