secret
Created

  • Download Gist
gistfile1.js
JavaScript
1 2 3 4 5 6
var fs = require('fs');
var request = require('request');
var apiUrl = 'http://api.flickr.com/services/upload/';
fs.readdirSync(path).forEach(function(filename) {
fs.createReadStream(path + filename).pipe(request.post(apiUrl));
});

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.