0

I am using ng2-file-upload with rest api backend , no multer Want to know , if ng2-file-upload is doing http post internally or we need to create a service to do http post

I have taken code from demo https://valor-software.com/ng2-file-upload/

 public uploader:FileUploader = new FileUploader({url: URL,maxFileSize: 
 maxFileSize,autoUpload:true});
 public hasBaseDropZoneOver:boolean = false;
 public hasAnotherDropZoneOver:boolean = false;

 public fileOverBase(e:any):void {
   this.hasBaseDropZoneOver = e;
 }

 public fileOverAnother(e:any):void {
   this.hasAnotherDropZoneOver = e;
 }
}
user3050267
  • 71
  • 1
  • 9

0 Answers0