Using PowerShell Here-Strings with Graph APIs

A reader was curious about the way of passing data to Graph API requests as shown in an article. It’s because we used PowerShell here-strings to pass request bodies to Graph API requests. Normally, we use hash tables to create a request body containing several parameters and their values, but sometimes it’s easier to use a here-string for the reasons explained here.