• 10 hours
  • Medium

Free online content available in this course.

course.header.alt.is_video

course.header.alt.is_certifying

Got it!

Last updated on 2/21/22

Are You Ready to Handle User Files?

Evaluated skills

  • Handle user files in an Express app
  • Question 1

    When configuring  multer  as middleware, which two arguments must be provided?

    • source  and  destination

    • destination  and  filetype

    • filename  and  filetype

    • destination  and  filename

  • Question 2

    Which element does your  multer  middleware add to a request containing a file before passing it along?

    • The  file  object.

    • The  body  object.

    • The  formData  object.

    • The  host  object.

  • Question 3

    How do you put together the base URL segment for files on your server?

    • req.body + '://' + req.host
      
    • req.protocol + '://' + req.get('host')
      
    • req.protocol + '://' + req.host
      
    • req.get('protocol') + '://' + req.get('host')
      
Ever considered an OpenClassrooms diploma?
  • Up to 100% of your training program funded
  • Flexible start date
  • Career-focused projects
  • Individual mentoring
Find the training program and funding option that suits you best