Google News
logo
Express.js - Interview Questions
List the built-in middleware functions provided by Express.
Express.js provides the following built-in middleware functions :
 
Static : We use it for serving static assets like images, HTML files, etc.

JSON : This is available in Express 4.16.0+. And we use it for passing the incoming requests with JSON payloads.

URL encoded : This is also available in Express 4.16.0+. And we use it for passing the incoming requests with URL-encoded payloads.
Advertisement