我正在开发IBM Connections3.0的博客API,我从IBM Docs获得了有关如何推荐博客条目以及如何获得人们推荐的博客条目列表的详细信息。
我需要API的详细信息,我如何才能撤销我对特定博客的推荐。
在web中,IBM connections调用/blogs/roller services/json来执行这个操作,这需要发布"dangerousurlnonce“,但我也找不到如何才能获得"dangerousurlnonce”的值。
--维沙尔
发布于 2014-10-29 20:16:09
试试这个:
$.ajax({
url : 'blogs/roller-services/json/authcheck?entry=' + entryId,
success : function (data) {
// yes we need to use dojo here as the response is invalid json that only dojo can parse
dangerousurlnonce = dojo.fromJson('{' + data + '}').nonce;
}
});https://stackoverflow.com/questions/24386376
复制相似问题