GraphClientRequestIdGuidancePlugin

显示对 Microsoft 图形 API 的请求不包含 client-request-id 标头时的提示。

使用开发代理的命令提示符的屏幕截图,其中显示了在检测到没有 client-request-id 标头的 Microsoft 图形 API 的请求后出现提示。

插件实例定义

{
  "name": "GraphClientRequestIdGuidancePlugin",
  "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/*"
  ]
}

配置示例

配置属性

命令行选项