Update docs/en/Community-Articles/2023-10-09-How-to-Upload-and-Download-Files-in-the-ABP-Framework-using-Angular/POST.md

Co-authored-by: Qingxiao Ren <1829209+rqx110@users.noreply.github.com>
pull/17827/head
Mahmut Gundogdu 2 years ago committed by GitHub
parent c03bb2836d
commit bdfb436d17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -61,7 +61,7 @@ How to use `uploadFileByFile` function.
```javascript
const myFormData = new FormData();
myFormData.append('file', inputFile); // file must match variable name in AppService
storageService.uploadFileByFile(file).subscribe()
storageService.uploadFileByFile(myFormData).subscribe()
```
inputFile type is File. Most case it come from `<input type="File">` File is belong to Javacsript Web Api. see the detail https://developer.mozilla.org/en-US/docs/Web/API/File

Loading…
Cancel
Save