我试图使用yammer REST API获取Yammer搜索结果我只得到以下错误:
{“readyState”:0,“responseText”:“”,“status”:0,“statusText”:“error”}
这是我的代码:
yam.platform.request({
url: "search.json",
method: "GET",
data: {
"search": "Test"
},
success: function (data) { //print message response information to the console
alert("The request was successful.");
console.dir(data);
},
error: function (err) {
alert(JSON.stringify(err));
}
});