From bdfb436d178548198d2c853549e6d36ed4e02967 Mon Sep 17 00:00:00 2001 From: Mahmut Gundogdu Date: Tue, 10 Oct 2023 09:03:26 +0300 Subject: [PATCH] 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> --- .../POST.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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