What you want is upload.fields()
:
app.post('/rest/upload',
upload.fields([{
name: 'video', maxCount: 1
}, {
name: 'subtitles', maxCount: 1
}]), function(req, res, next){
// ...
}
What you want is upload.fields()
:
app.post('/rest/upload',
upload.fields([{
name: 'video', maxCount: 1
}, {
name: 'subtitles', maxCount: 1
}]), function(req, res, next){
// ...
}
For further actions, you may consider blocking this person and/or reporting abuse
ESDDave -
mohamed Tayel -
mohamed Tayel -
Ikoh Sylva -
Top comments (0)