Friday, 14 September 2018

Multiple Filetype validation with multer?

Hi everyone, I am trying to implement a multipart form which would take audio and images, as well as form fields.I have only seen multer's filefilters used to validate a set of filetypes for all items in the request. Are there any examples of using multer to validate a form submit which consists of audio, an image, and text? Which makes sure only each respective field has their corresponding valid filetype.Thanks

Submitted September 15, 2018 at 02:41AM by grrr_lion

No comments:

Post a Comment