diff --git a/docs/en/Community-Articles/2023-10-09-How-to-Upload-and-Download-Files-in-the-ABP-Framework-using-Angular/POST.md b/docs/en/Community-Articles/2023-10-09-How-to-Upload-and-Download-Files-in-the-ABP-Framework-using-Angular/POST.md index 39ba2c347d..1987bffd91 100644 --- a/docs/en/Community-Articles/2023-10-09-How-to-Upload-and-Download-Files-in-the-ABP-Framework-using-Angular/POST.md +++ b/docs/en/Community-Articles/2023-10-09-How-to-Upload-and-Download-Files-in-the-ABP-Framework-using-Angular/POST.md @@ -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 `` File is belong to Javacsript Web Api. see the detail https://developer.mozilla.org/en-US/docs/Web/API/File