Web data and APIs
The fifth chapter examines how programs communicate with each other on the web. It presents what an API is and what a contract means, how JSON and XML describe data, and what approaches an API can be built on: resources (REST), field selection (GraphQL), or operations (RPC). It also covers refreshing changing data (polling, SSE, WebSocket, webhook), and handling the evolution and documentation of APIs.
Web data and APIs
The fifth chapter examines how programs communicate with each other on the web. It presents what an API is and what a contract means, how JSON and XML describe data, and what approaches an API can be built on: resources (REST), field selection (GraphQL), or operations (RPC). It also covers refreshing changing data (polling, SSE, WebSocket, webhook), and handling the evolution and documentation of APIs.