September 2017
Intermediate to advanced
450 pages
11h 24m
English
We will continue to use an API client, such as Postman, for this chapter to test and develop our API endpoints. If you haven't installed Postman, or another client, I recommend that you do so to help make the cycle of retesting your requests much easier. Postman specifically supports the ability to set a form-data field to a file value, which is what we will need to test our multipart/form-data upload:

To parse our file uploads, we will also need a file upload parsing library called Multer. You must install Multer to your Express application's package.json file:
npm install multer --save
Read now
Unlock full access