0

我按照这个文档编写了如下代码,但它响应 405(方法不允许),错误消息是“不支持 OData 请求。”。

function getAttachment(groupId, threadId, postId) {
    HttpClient.get({
        url: "https://graph.microsoft.com/v1.0/groups/" + groupId + "/threads/" + threadId + "/posts/" + postId + "/attachments"
    }).then(function (resp) {

    });
};

代码有问题吗?

4

1 回答 1

1

您的代码是正确的,这是 Graph API 中的一个错误。它的修复程序正在推出,应该会在大约一个月内广泛使用。

于 2016-01-07T19:57:55.690 回答