【问题标题】:Sharepoint Integration using Postman使用 Postman 进行 Sharepoint 集成
【发布时间】:2021-05-09 17:16:12
【问题描述】:

我想尝试将 Sharepoint 与 Postman 集成。因此,我按照以下文章中给出的步骤进行操作:https://medium.com/@anoopt/accessing-sharepoint-data-using-postman-sharepoint-rest-api-76b70630bcbf。我完全按照文章中提到的方式执行了所有步骤。所以我创建了以下内容:

https://accounts.accesscontrol.windows.net/{{realm}}/tokens/OAuth/2
  • 在Test的body和javascript中输入键值对,点击发送。

    当我点击发送时,我收到以下错误: Error

      {"error":"invalid_request","error_description":"AADSTS900023: Specified tenant identifier '{{realm}}' is neither a valid DNS name, nor a valid external domain.\r\nTrace ID: af51e70f-4f1d-4b25-8112-d800d1a2e600\r\nCorrelation ID: d92a6863-6cba-4c84-8569-135bfabbaf91\r\nTimestamp: 2021-02-05 03:04:37Z","error_codes":[900023],"timestamp":"2021-02-05 03:04:37Z","trace_id":"af51e70f-4f1d-4b25-8112-d800d1a2e600","correlation_id":"d92a6863-6cba-4c84-8569-135bfabbaf91","error_uri":"https://accounts.accesscontrol.windows.net/error?code=900023"}
    

【问题讨论】:

  • 拜托,能否分享一下这个问题的更多细节,例如,发送邮递员的图像并模糊所有敏感信息。
  • @AntonioLeonardo 我已经添加了图片。如果我错过了什么,请告诉我。对于主要参数,我在此链接中使用了“00000003-0000-0ff1-ce00-000000000000”:docs.microsoft.com/en-us/archive/blogs/kaevans/…

标签: rest sharepoint salesforce postman integration


【解决方案1】:

在这个问题上花了这么多时间后,我意识到正文应该使用form-data 而不是x-www-form-urlencoded。使用表单数据后,当我点击发送按钮时,我能够在我的环境变量中正确获取成功令牌。

Click here to view the image

【讨论】:

    猜你喜欢
    • 2023-03-23
    • 2019-09-30
    • 1970-01-01
    • 2018-05-12
    • 1970-01-01
    • 1970-01-01
    • 2017-07-21
    • 1970-01-01
    • 2012-12-24
    相关资源
    最近更新 更多