Skip to content
masterclass Buddy

Express.js · Method

app.all

app.all() runs callback functions for every HTTP method that matches a path. It is useful for shared checks and middleware-like logic.

Last updated

Syntax

app.all(path, callback [, callback ...])

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • app.use()
  • app.METHOD()
  • app.get()
  • express.Router
  • next()
  • next('route')

Source: Application Object · Express.js. Checked 2026-11-03.