GraphSdkGuidancePlugin

显示代理截获 Microsoft Graph SDK 未发出的对 Microsoft Graph 的请求时的提示。

包含开发代理的命令提示符的屏幕截图,其中显示了一个提示,建议在截获对不使用 SDK 的 Microsoft Graph 请求后使用 Microsoft Graph SDK。

插件实例定义

{
  "name": "GraphSdkGuidancePlugin",
  "enabled": true,
  "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
  "urlsToWatch": [
    "https://graph.microsoft.com/v1.0/*",
    "https://graph.microsoft.com/beta/*",
    "https://graph.microsoft.us/v1.0/*",
    "https://graph.microsoft.us/beta/*",
    "https://dod-graph.microsoft.us/v1.0/*",
    "https://dod-graph.microsoft.us/beta/*",
    "https://microsoftgraph.chinacloudapi.cn/v1.0/*",
    "https://microsoftgraph.chinacloudapi.cn/beta/*"
  ]
}

配置示例

配置属性

命令行选项