Skip to content
masterclass Buddy

Express.js · Interface

Response

The Express res object represents the HTTP response sent by an app. It extends Node's response object and provides methods for headers, cookies, status codes, response bodies, files, redirects, and templates.

Last updated

Syntax

app.METHOD(path, (req, res) => { /* use res */ });

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

Subscribe
  • res.app
  • res.headersSent
  • res.locals
  • res.req
  • res.append()
  • res.cookie()
  • res.end()
  • res.format()

Source: Response · Express.js 4.x. Checked 2026-11-03.