Returns document at {id}
Returns document in web view at {id}
Upload document, returns {id}
Upload document from web view
Upload document, returns {id}. After one GET of {id}, document is deleted.
Upload document, returns {id}. After one GET of {id}, document is deleted. Document is also deleted after {seconds}.
node server -p <port>
Simply place privkey.pem
and fullchain.pem
in the root directory.
Run the secure HTTPS server with node server.js -p 443 -s
where -s
signifies it will read the key
and the cert
.
var server = https.createServer({
key:fs.readFileSync('privkey.pem'),
cert:fs.readFileSync('fullchain.pem')
},app)