Request Handler

Noun · Development

Definitions

  1. A function or method that receives an incoming HTTP request, executes the business logic for that endpoint (reading/writing data, calling services, validating input), and returns an HTTP response. In Express it's a route callback, in Django a view function, in Spring a controller method.

    In plain English: The function in your web application that actually does the work when someone visits a specific URL or submits a form.

    Example: "The GET /users/:id handler looks up the user, returns 200 with the profile JSON, or 404 if not found."

Related Terms