Question Bank
1085 approved questions from the community
Express.js is synchronous and cannot handle asynchronous operations.
What method sends a JSON response in Express.js?
Which object in Express.js represents the HTTP request?
Which object in Express.js represents the HTTP response?
What file is typically the entry point for an Express.js application?
`express.Router` can only be used once per application.
Express.js provides built-in support for template engines.
What does the `res.status(200)` indicate in Express.js?
The `app.use()` function can only be used for application-level middleware.
Route handlers in Express.js can only perform one operation per request.
Express.js requires you to manually parse JSON request bodies without any middleware.
In Express.js, `req.params` is used to access query string parameters.
The `express.static()` middleware can be used to serve CSS, JavaScript, and image files.
Express.js is a replacement for Node.js.
Middleware functions in Express.js must always call `next()` to pass control to the next middleware.
Express.js can only handle GET and POST requests.
What does RESTful API stand for in the context of Express.js?
Which of the following are valid template engines that work with Express.js? (Select all that apply)
What command initializes a new Node.js project for Express.js?
What does `req.body` contain in Express.js?