Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2012 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4327580 to your computer and use it in GitHub Desktop.
Save anonymous/4327580 to your computer and use it in GitHub Desktop.
pkgcloud rackspace cloud files
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