With Microsoft Graph Developer Proxy, the software giant offers a command-line tool intended to provide a better way to test applications that use Microsoft Graph.
Graph Developer Proxy, currently in developer preview, allows developers to mock Graph API responses and simulate Graph API errors on their local machines. Problems can be identified and fixed in code early in the development cycle. The current preview focuses on simulating errors for Microsoft Graph and other APIs, as well as providing contextual guidance to improve application performance.
Released on January 4, the latest preview version, version 0.3, may be downloaded from GitHub. It is available for Windows, macOS and Linux. Users are advised to check whether applications correctly handle API errors. The Microsoft Graph API provides access to data and information from Microsoft 365 apps.
By extending requests to Microsoft Graph with the
$select query parameter, developers can limit the data returned by Microsoft Graph to what their application needs, thus speeding up API response. Graph Developer Proxy will notify users of any request to the Graph API that does not use the
$select parameter and provide a link to guidance with more information on using the
Looking ahead, Microsoft is refactoring Graph Developer Proxy to be more modular, making it easier to maintain features and providing the option for developer-driven plug-in support for specific scenarios. Future plans also include improving the readability of proxy output and investigating ways to understand which beta endpoints are used in apps so they can be upgraded to use the beta endpoints. version 1.0 that are supported in production.
Copyright © 2023 IDG Communications, Inc.