Delen via


GraphClientRequestIdGuidancePlugin

Geeft een tip weer wanneer een aanvraag voor Microsoft Graph API de client-request-id header niet bevat.

Schermopname van een opdrachtprompt met Dev Proxy met een tip na het detecteren van een aanvraag bij Microsoft Graph API zonder de header client-request-id.

Configuratievoorbeeld

{
  "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v2.0.0/rc.schema.json",
  "plugins": [
    {
      "name": "GraphClientRequestIdGuidancePlugin",
      "enabled": true,
      "pluginPath": "~appFolder/plugins/DevProxy.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/*"
  ]
}

Configuratie-eigenschappen

Geen

Opdrachtregelopties

Geen