apigee网站上的 Hello World 示例存在引用不匹配错误:
var dataClient = new Apigee.Client({
orgName:'your-org', //your Apigee organization name
appName:'your-app'
});
var options = {
endpoint:"users", //the collection to query
qs:{ql:"status='active'",limit:5"} //the query string - note the use of the 'ql' property
};
//Call request to initiate the API call
dataClient.request(options, function (error, response) {
if (error){
//error
} else {
//success
}
});
问:一旦我删除 5 之后的 ",是否有希望运行它?