0PricingLogin
Flask Academy · Lesson

How a Request Becomes a Response

Walk the client to view to response round trip.

The Round Trip

Every page view is a round trip: the browser sends a request, your server does work, and a response travels back. Let us trace that journey.

It Starts with a Request

A user clicks a link, and the browser sends an HTTP request. It carries the method, the URL path, and some headers describing the client.

All lessons in this course

  1. The @app.route Decorator
  2. How a Request Becomes a Response
  3. Return Strings, HTML, and Status Codes
  4. Multiple Routes in One App
← Back to Flask Academy