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).
This chapter explores the client-side of this process, acting as the consumer of a web service rather than the author.
REST is extremely popular nowadays, and most web services seem to use this approach. From the developer’s perspective, a REST-based service can be created very quickly, and a great deal can be done to automatically generate clients for such services. REST is stateless, meaning that each request is independent from other requests.
SOAP services are quite difficult to find, especially services ...
Get Mastering PowerShell Scripting - Fifth 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.