我正在關注示例代碼片段the one in the right panel here。所以我有一個Recurly令牌,並試圖使用它來開始訂閱。 subscription = Subscription()
subscription.plan_code = 'monthly'
subscription.currency = 'USD'
account = Account
我試圖實現一個簡單的反覆使用API客戶端以重複創建一個帳戶使用本地HTML頁面進行測試。 我在JavaScript中對請求進行了硬編碼,並使用XMLHttpRequest進行了後期操作。 var client = new XMLHttpRequest();
client.open("POST", "https://subdomain.recurly.com/v2/accounts", tru