af
Version:
a command line interface for interacting with AppFog API. This should eventually be able to replace the af gem.
13 lines (12 loc) • 340 B
JavaScript
var request = require('../index')
var r = request.get('https://log.curlybracecast.com.s3.amazonaws.com/',
{ aws:
{ key: 'AKIAI6KIQRRVMGK3WK5Q'
, secret: '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'
, bucket: 'log.curlybracecast.com'
}
}, function (e, resp, body) {
console.log(r.headers)
console.log(body)
}
)