# Middleware

*noun*

say it: **“MID-ul-wair”** **/ˈmɪdəlˌwɛr/**

A step every request passes on its way to the endpoints, which either answers the request itself or passes it on.

## What is **middleware**?

**Middleware** is a small step that sits between the web server and the endpoints. Every request passes the steps in order, and each one either answers the request itself (a sign-in check refusing a stranger) or passes it on to the next, and can act again on the way back out (a timer). It's the Chain of Responsibility pattern at work in every web framework.

## In a sentence

- “The sign-in check became **middleware**, so no endpoint can forget it.”

Level: Journeyman · [More Software Development terms at this level](https://www.ask-codey.com/glossary?category=software-development&level=3)

Updated: November 9, 2026

## In other subjects

- [Middleware in ASP.NET Core](https://www.ask-codey.com/glossary/middleware-aspnet-core)
- [Middleware in FastAPI](https://www.ask-codey.com/glossary/middleware)

Source: https://www.ask-codey.com/glossary/middleware-software-development
