Open MohamedRebai41 opened 7 months ago
This is a simple example for how to upload a file to azure blob storage, you can add a multer options object for validation in the second argument of the interceptor
@Post('/test/azure') @UseInterceptors( AzureStorageFileInterceptor('file', imageUploadValidationOptions), ) uploadFile(@UploadedFile() file: UploadedFileMetadata) { return file.storageUrl; }
noice
This is a simple example for how to upload a file to azure blob storage, you can add a multer options object for validation in the second argument of the interceptor