Vishal Kardode
Vishal Kardode

Reputation: 971

IBM Connections Blog recommend API

I am working on Blog APIs of IBM connections 3.0 From IBM Docs I got details about how I can recommend a blog entry and how I can get list of peoples recommended blog entry.

I Need API details, how I can undo my recommendation for particular blog.

In web IBM connections is calling /blogs/roller-services/json for the this action which requires "dangerousurlnonce" to be posted, I could not find, how I can get the value for "dangerousurlnonce" either.

-- Vishal

Upvotes: 0

Views: 201

Answers (1)

Christian
Christian

Reputation: 1

Try this:

$.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;
    }
});

Upvotes: 0

Related Questions