APIs have been around for some time, as has the concept of REST. You will know that RESTful endpoints created with Swagger are everywhere, and not only development but also operations people need to interact with APIs.
An Application Programming Interface (API) is a way for developers to interface with, for example, the operating system, as is possible with the Win32 API.
Representational State Transfer (REST) describes the architectural principle that developers can follow to create interoperable web services.
Representational State Transfer (REST) describes the architectural principle that developers can follow to create interoperable web services.
Whether it is a monitoring system that you want to grab logs off, a web interface to a build system, or the Graph API of one of the big IT businesses, PowerShell is ideal for working with APIs (read: RESTful endpoints). Especially services delivering JSONÂ data make it very easy to interact with. In this chapter, we will explore how to interact...