Skip to content

Instantly share code, notes, and snippets.

View zengfenfei's full-sized avatar

Kevin Zeng zengfenfei

  • Xiamen
View GitHub Profile
// Builds the url: '/account/~/extension/~', and make a PUT request to it
rc.account().extension().put({ status: "Enabled" }).then(function () {
console.log("Success to update extension.");
}).catch(function () {
console.error("Fail to update extension.");
});