Uploading a file in Azure File Storage using node.js
问题 We are trying create an webservice to upload files to Azure file storage using node.js service. Below is the node.js server code. exports.post = function(request, response){ var shareName = request.headers.sharename; var dirPath = request.headers.directorypath; var fileName = request.headers.filename; var body; var length; request.on("data", function(chunk){ body += chunk; console.log("Get data"); }); request.on("end", function(){ try{ console.log("end"); var data = body; length = data.length