当做一个:
GET https://graph.microsoft.com/v1.0/users/<User ID>/microsoft.graph.getMemberGroups
它正确地返回一个错误,因为它应该是一个 POST。但是,它返回的错误中包含“TODO”消息。诡异的。
{
"error": {
"code": "Request_BadRequest",
"message": "TODO: throw HTTP 405 with collection of allowed methods (Allow response header). Supported targets: 'Metadata,EntitySet,Entity,EntitySingleProperty,NavigationOrContainment,NavigationOrContainmentEntity,NavigationOrContainmentEntitySingleProperty'.",
"innerError": {
"request-id": "668fbd4b-2dff-4686-aac4-0ff62c108edf",
"date": "2016-02-10T05:08:05"
}
}
}
这是预期的行为吗?