---
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\". When a request arrives at an Express server, it does not go directly to your route handler. It passes through a series of functions first, each one getting a chance to inspect the request, modify it,"
url: "https://hashnode.com/posts/what-is-middleware-in-express-and-how-it-works/6a00b2e3e3eebc2e20a17c68"
---

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

Discussion

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

When a request arrives at an Express server, it does not go directly to your route handler. It passes through a series of functions first, each one getting a chance to inspect the request, modify it,

May 10 · 8 min read · timblarc.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Shivam Verma](https://hashnode.com/@theadroitdev)

@theadroitdev · Punjab, India

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

Full Stack Engineer | Web & Mobile

A software engineer who work across the Full Stack. Having adept skills on coding and product management

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
