Like Us
Plus One
Follow Us
 Author Mikael Svenson  Views 1501 View Original Article

I’m creating a couple of web parts using SharePoint Framework in my current project so I figured I’d share a small helper class I created for performing GET requests against the Microsoft Graph. The code is written in TypeScript and handles single item results as well as paging on array results. MSGraph.ts import { GraphHttpClient, GraphHttpClientResponse } from '@microsoft/sp-http';export class MSGraph { public static async Get(graphClient: GraphHttpClient, url: string) { let values…
View Original Article

Recent Articles from Tech and me