---
title: "Discussion on \"What is Middleware in Express and How It Works\" | Hashnode"
description: "Discussion on \"What is Middleware in Express and How It Works\". Every request to your Express server follows a pipeline. The request comes in, something happens, a response goes out.\nMiddleware is what happens in the middle.\nWhat Middleware Is\nA middleware functio"
url: "https://hashnode.com/posts/what-is-middleware-in-express-and-how-it-works/6a01a631fca21b0d4bfa07d3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What is Middleware in Express and How It Works](https://kushagrablogs.hashnode.dev/what-is-middleware-in-express-and-how-it-works?utm_source=hashnode&utm_medium=feed)

Every request to your Express server follows a pipeline. The request comes in, something happens, a response goes out. Middleware is what happens in the middle. What Middleware Is A middleware functio

May 11 · 4 min read · kushagrablogs.hashnode.dev  
Read the article

-   [#expressjs](https://hashnode.com/tag/expressjs)
-   [#middleware](https://hashnode.com/tag/middleware)
-   [#middleware-in-express](https://hashnode.com/tag/middleware-in-express)

## Written by

[Kushagra Trivedi](https://hashnode.com/@kushagratrvd)

@kushagratrvd

  
[View profile](https://hashnode.com/@kushagratrvd)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
