← All pathways

How APIs Actually Work

Past curl and Postman to what is really happening on the wire.

You use APIs every day but the under-the-hood picture stays fuzzy: what an endpoint really is, where the front-end/back-end line sits, and how it all gets secured. This pathway walks from the core concept, to how an endpoint is exposed and protected, to seeing it live in your terminal.

You can already call an API — what's missing is the model underneath. This route follows one thing, a request, from what it fundamentally is, through how it travels and gets secured, to watching it happen in your own terminal. Ten lessons across three sites, in order; each stands alone, but together they close the loop.

10 steps live · 3 sites

What you'll be able to do

  • Explain what an API really is — a contract, not code — and where the front-end/back-end line actually falls.
  • Trace a request end to end: DNS, ports, TLS termination, the gateway, and the handler that answers.
  • Reason about API security the way production does: tokens, the authentication/authorization split, and mTLS as the default.
  • Inspect real traffic with curl -v and the browser network tab — and read what you find.

The route

01

Start with the contract

What an API really is, and the two roles every request is built from.

2 lessons

02

Follow a request

How a request reaches your code, what it carries, and how to watch it travel.

4 lessons

03

Expose it safely

Identity, encryption, and the front door that guards an endpoint in production.

4 lessons

04

Go deeper

The design decisions you can't take back once clients depend on you.

1 lesson

04

Go deeper

11

API Design Principles: REST, Idempotency, Versioning

coming soonComputer Science · Mastery

The decisions you cannot take back once clients depend on you.