mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
340 B
13 lines
340 B
12 years ago
|
var request = require('../index')
|
||
|
|
||
|
var r = request.get('https://log.curlybracecast.com.s3.amazonaws.com/',
|
||
|
{ aws:
|
||
|
{ key: 'AKIAI6KIQRRVMGK3WK5Q'
|
||
|
, secret: 'j4kaxM7TUiN7Ou0//v1ZqOVn3Aq7y1ccPh/tHTna'
|
||
|
, bucket: 'log.curlybracecast.com'
|
||
|
}
|
||
|
}, function (e, resp, body) {
|
||
|
console.log(r.headers)
|
||
|
console.log(body)
|
||
|
}
|
||
|
)
|