Uploading Files to OneDrive Using Node.js

Gists Upload contents for an item on OneDrive In order to use this script, please retrieve client id, client secret and refresh token before. About this, you can see the detail information at 1. Simple item upload This is for the simple item upload is available for items with less than 4 MB of content. The detail information is var fs = require('fs'); var mime = require('mime'); var request = require('request'); var file = '.