Freigeben über


GraphSdkGuidancePlugin

Zeigt einen Tipp an, wenn proxy eine Anforderung an Microsoft Graph abfangen, die nicht von einem Microsoft Graph SDK ausgestellt wurde.

Screenshot einer Eingabeaufforderung mit Dev Proxy mit einem Tipp zur Verwendung des Microsoft Graph SDK nach dem Abfangen einer Anforderung an Microsoft Graph, die kein SDK verwendet.

Definition der Plug-In-Instanz

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

Konfigurationsbeispiel

Nichts

Konfigurationseigenschaften

Nichts

Befehlszeilenoptionen

Nichts

Nächster Schritt