How to use ng2-file-upload in Laravel?
How to get file in Laravel if I send it as POST (Json):
public uploader: FileUploader = new FileUploader({
url: environment.serverUploadUrl,
disableMultipart: true,
autoUpload: true,
allowedFileType: ['xls', 'xlsx', 'csv'],
itemAlias: 'attachment',
additionalParameter: {
action: 1
}
});
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire