Skip to content

Instantly share code, notes, and snippets.

@zengfenfei
Created May 22, 2017 07:44
Show Gist options
  • Save zengfenfei/50e62fdb143a3ff788173aebc67285a8 to your computer and use it in GitHub Desktop.
Save zengfenfei/50e62fdb143a3ff788173aebc67285a8 to your computer and use it in GitHub Desktop.
// Builds the url: '/account/~/extension/theExtensionId', and make a GET request to it
rc.account().extension('theExtensionId').get().then(function (extInfo) {
console.log("The extension info", extInfo);
}).catch(function (e) {
console.error("Get extension error", e);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment