You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ npm i angular-file-uploader
54
54
maxSize:"1",
55
55
uploadAPI: {
56
56
url:"https://example-file-upload-api",
57
+
method:"POST",
57
58
headers: {
58
59
"Content-Type":"text/plain;charset=UTF-8",
59
60
"Authorization":`Bearer ${token}`
@@ -88,6 +89,7 @@ npm i angular-file-uploader
88
89
| formatsAllowed : string | Specify the formats of file you want to upload. | '.jpg,.png,.pdf,.docx, .txt,.gif,.jpeg'|
89
90
| maxSize : number | Maximum size limit for files in MB. | 20 MB |
90
91
| uploadAPI.url : string | Complete api url to which you want to upload. | undefined |
92
+
| uploadAPI.method : string | HTTP method to use for upload. | POST |
91
93
| uploadAPI.headers : {} | Provide headers you need here. | {} |
92
94
| theme : string | Specify the theme name you want to apply. Available Themes: ' dragNDrop ', ' attachPin ' | If no theme or wrong theme is specified, default theme will be used instead.|
93
95
| hideProgressBar:boolean| Set it as " true " to hide the Progress bar. | false |
@@ -213,6 +215,7 @@ npm i angular-file-uploader
213
215
maxSize: "1",
214
216
uploadAPI: {
215
217
url:"https://example-file-upload-api",
218
+
method:"POST",
216
219
headers: {
217
220
"Content-Type" : "text/plain;charset=UTF-8",
218
221
"Authorization" : `Bearer ${token}`
@@ -238,6 +241,7 @@ npm i angular-file-uploader
238
241
| formatsAllowed : string | Specify the formats of file you want to upload. |'.jpg,.png,.pdf,.docx, .txt,.gif,.jpeg'|
239
242
| maxSize : number | Maximum size limit for files inMB. |20MB|
240
243
|uploadAPI.url: string | Complete api url to which you want to upload. |undefined|
244
+
|uploadAPI.method: string |HTTP method to use for upload. |POST|
241
245
|uploadAPI.headers: {} | Provide headers you need here. | {} |
242
246
| theme : string | Specify the theme name you want to apply. Available Themes:' dragNDrop ', ' attachPin '| If no theme or wrong theme is specified, default theme will be used instead.|
243
247
| hideProgressBar:boolean |Set it as " true " to hide the Progress bar. |false|
Copy file name to clipboardExpand all lines: projects/angular-file-uploader/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ npm i angular-file-uploader
54
54
maxSize:"1",
55
55
uploadAPI: {
56
56
url:"https://example-file-upload-api",
57
+
method:"POST",
57
58
headers: {
58
59
"Content-Type":"text/plain;charset=UTF-8",
59
60
"Authorization":`Bearer ${token}`
@@ -88,6 +89,7 @@ npm i angular-file-uploader
88
89
| formatsAllowed : string | Specify the formats of file you want to upload. | '.jpg,.png,.pdf,.docx, .txt,.gif,.jpeg'|
89
90
| maxSize : number | Maximum size limit for files in MB. | 20 MB |
90
91
| uploadAPI.url : string | Complete api url to which you want to upload. | undefined |
92
+
| uploadAPI.method : string | HTTP method to use for upload. | POST |
91
93
| uploadAPI.headers : {} | Provide headers you need here. | {} |
92
94
| theme : string | Specify the theme name you want to apply. Available Themes: ' dragNDrop ', ' attachPin ' | If no theme or wrong theme is specified, default theme will be used instead.|
93
95
| hideProgressBar:boolean| Set it as " true " to hide the Progress bar. | false |
@@ -213,6 +215,7 @@ npm i angular-file-uploader
213
215
maxSize: "1",
214
216
uploadAPI: {
215
217
url:"https://example-file-upload-api",
218
+
method:"POST",
216
219
headers: {
217
220
"Content-Type" : "text/plain;charset=UTF-8",
218
221
"Authorization" : `Bearer ${token}`
@@ -238,6 +241,7 @@ npm i angular-file-uploader
238
241
| formatsAllowed : string | Specify the formats of file you want to upload. |'.jpg,.png,.pdf,.docx, .txt,.gif,.jpeg'|
239
242
| maxSize : number | Maximum size limit for files inMB. |20MB|
240
243
|uploadAPI.url: string | Complete api url to which you want to upload. |undefined|
244
+
|uploadAPI.method: string |HTTP method to use for upload. |POST|
241
245
|uploadAPI.headers: {} | Provide headers you need here. | {} |
242
246
| theme : string | Specify the theme name you want to apply. Available Themes:' dragNDrop ', ' attachPin '| If no theme or wrong theme is specified, default theme will be used instead.|
243
247
| hideProgressBar:boolean |Set it as " true " to hide the Progress bar. |false|
0 commit comments