Skip to content

References: How a Web App Works

  1. Client–server model - Wikipedia - Explains how a client asks and a server answers, with examples and diagrams. This is the basic picture behind every browser front end and back-end server in this chapter.

  2. HTTP - Wikipedia - Covers the request and response protocol of the web, including methods, status codes and headers. It backs the chapter's walk through a single HTTP request.

  3. REST - Wikipedia - Describes the REST style of API design built on URLs, methods and stateless requests. It explains why most app routes and API endpoints look the way they do.

  4. HTTP: The Definitive Guide - David Gourley and Brian Totty - O'Reilly Media, 2002 - Known for following a single message from browser to server and back in plain steps. That message-tracing method is the approach this chapter uses to explain requests.

  5. Computer Networking: A Top-Down Approach (8th ed.) - James F. Kurose and Keith W. Ross - Pearson, 2021 - Kurose and Ross start teaching networks at the application layer, with HTTP, instead of with wires. Their top-down order suits builders who meet the web through apps.

  6. Overview of HTTP - MDN Web Docs - A readable guide to how clients, servers and proxies exchange HTTP messages. Good for checking what the browser actually sends when an app makes a request.

  7. HTTP response status codes - MDN Web Docs - A complete reference to status codes such as 200, 401, 404 and 500. Use it to read what an API endpoint is telling you.

  8. HTTP request methods - MDN Web Docs - Explains GET, POST, PUT, PATCH and DELETE and which ones are safe or idempotent. It supports the chapter's section on HTTP methods.

  9. Introducing JSON - JSON.org - Douglas Crockford's short page with the full JSON grammar drawn as diagrams. It shows the exact shape of the data most APIs and webhooks send.

  10. Representational State Transfer (REST) - Roy T. Fielding - Chapter 5 of the dissertation that defined REST. It is the primary source for the constraints behind REST APIs, for readers who want the original reasoning.