Created
December 18, 2012 12:31
-
-
Save anonymous/4327580 to your computer and use it in GitHub Desktop.
pkgcloud rackspace cloud files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pkgcloud = require('pkgcloud'); | |
var rackspace = pkgcloud.storage.createClient({ | |
provider: 'rackspace', | |
username: 'xxx', | |
apiKey: 'xxxxxxxxxxxxxxx' | |
}); | |
rackspace.getContainers(function (err, containers) { | |
console.log(err); | |
console.log(containers); | |
}); | |
// [Error: Invalid URI "?format=json"] | |
// undefined | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment