我按照这个文档编写了如下代码,但它响应 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) {
});
};
代码有问题吗?