app.post(path, callback [, callback ...]) Routes HTTP POST requests to the specified path with the specified callback functions. For more information
res.app This property holds a reference to the instance of the Express application that is using the middleware. res
req.originalUrl req.url is not a native Express property, it is inherited from Node’s
app.mountpath The app.mountpath property contains one or more path patterns on which a sub-app was mounted.
res.end([data] [, encoding]) Ends the response process. This method actually comes from Node core, specifically the
req.acceptsCharsets(charset [, ...]) Returns the first accepted charset of the specified character sets, based on the request’s Accept-Charset
express.static(root, [options]) This is the only built-in middleware function in Express. It serves static files and is based on
res.json([body]) Sends a JSON response. This method is identical to res.send() with an object or array as the parameter. However
This is essentially going to be the simplest Express app you can create. It is a single file app — not what you’d get if you use the
Express uses the debug module internally to log information about route matches, middleware
Page 1 of 11