In this video I explore interacting with REST from PowerShell including authentication with services like Microsoft Azure.
Code from this video available in my RandomStuff repo - https://github.com/johnthebrit/RandomStuff/blob/master/REST/WorkingWithRest.ps100:00 Introduction to REST
02:55 Commands abstract REST
05:05 Using Invoke-WebRequest
06:18 Using Invoke-RestMethod
07:17 Authorization to REST endpoint
10:50 RestMethod custom object response
11:30 Escaping special characters
12:20 Azure tokens for other audiences
13:10 Using REST body
15:23 Summary and close
40 Comments