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.
SubscribeRelated
res.appres.headersSentres.localsres.reqres.append()res.cookie()res.end()res.format()