代码之家  ›  专栏  ›  技术社区  ›  blake_griffin

Azure GraphAPI getMemberGroups请求错误

  •  2
  • blake_griffin  · 技术社区  · 7 年前

    我正在尝试进行Azure Graph API调用getMemberGroups,但是我在响应中收到了“400错误请求”错误。

    根据文件[ https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/functions-and-actions#getMemberGroups] ,以下请求应为: enter image description here

    我的职位要求是:

    enter image description here

    我的标题是:

    enter image description here

    我的身体是:

    enter image description here

    {
        "odata.error": {
            "code": "Request_BadRequest",
            "message": {
                "lang": "en",
                "value": "Invalid JSON. The value '------' is not a valid number."
            }
        }
    }
    

    2 回复  |  直到 7 年前
        1
  •  4
  •   Fei Xue    7 年前

    json 表单数据 application/json 类型数据,我们应该使用 未经加工的 发送数据的选项。

        2
  •  0
  •   Balaraju Polaki    7 年前

    如何知道广告用户的授权令牌

    enter image description here