[Vuejs]-Node.js How to upload large user Inputs?

0👍

Instead of sending a <textarea> value, try using a <input type="file">
and stream the file content directly to your server.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file

Here’s a good resource if you need help with node streams:

https://medium.freecodecamp.org/node-js-streams-everything-you-need-to-know-c9141306be93

0👍

Try following code snippet.

app.use(express.bodyParser({limit: '50mb'}));

Leave a comment