Demo of multipart form/file uploading with hapi.js
.
npm install
npm run setup
npm run server
Then ...
npm run test
... or try:
curl --form [email protected] \
--form firstName=Melvin \
--form lastName=Mooney \
http://localhost:8080/submit
Other multipart/form-data
demos:
i use the exact same code and i am getting
request.payload.file
as undefined in handler.