13

Web Requests and Web Services

Representational State Transfer (REST) and Simple Object Access Protocol (SOAP) are often used as labels to refer to two different approaches to implementing a web-based Application Programming Interface (API).

The growth of cloud-based services in recent years has pushed the chances of working with such interfaces from rare to almost certain.

This chapter covers the following topics:

  • Web requests
  • Working with REST
  • Working with SOAP

Before beginning with the main topics of the chapter, there are some technical requirements to consider.

Technical requirements

In addition to PowerShell and PowerShell Core, you'll need Visual Studio 2019 Community Edition or better to follow the SOAP service example.

SOAP interfaces ...

Get Mastering PowerShell Scripting - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.