How the web works

What really happens when you tap a button in an app: clients and servers, requests and responses, DNS (Domain Name System: the internet’s phone book), round trips, HTTP (HyperText Transfer Protocol: the rules for writing web messages) methods, status codes and APIs (Application Programming Interfaces: the menu of requests a server understands), all shown on one small online tea shop.

About 25 minutes · 5 exam questions · 1 interview questions

What you will learn

  1. Client and server: two sides of every tap
  2. What happens when you open the Chai & Co app
  3. Round trips and RTT: why distance costs time
  4. HTTP, HTTPS and the four everyday methods
  5. Status codes: did it work, and whose fault is it?
  6. APIs, endpoints and JSON

Next: Where data lives