Skip to content

Tag Archives: Express.js

The app.METHOD() function is used to route an HTTP request, where METHOD is the HTTP method of the request, such as GET, PUT, POST, and… Read More
The res.clearCookie() function is used to clear the cookie specified by name. This function is called for clearing the cookies which as already been set.… Read More
The app.get() function returns the value name app setting. The app.set() function is used to assigns the setting name to value. This function is used… Read More
The app.get() function routes the HTTP GET Requests to the path which is being specified with the specified callback functions. Basically is it intended for… Read More
The res.location() function is used to set the response Location HTTP header to the path parameter which is being specified. Basically is it used to… Read More
The app.render() function is used to rendered HTML of a view via the callback function. This function returns the html in the callback function. Syntax:… Read More
The app.enable() function is used to set the boolean value i.e. name to true. It is basically the shorthand for the app.set(name, true) or app.set(name,… Read More
The app.post() function routes the HTTP POST requests to the specified path with the specified callback functions. Syntax: app.post(path, callback [, callback ...]) Arguments: Path:… Read More
The app.set() function is used to assigns the setting name to value. You may store any value that you want, but certain names can be… Read More
The app.put() function routes the HTTP PUT requests to the specified path with the specified callback functions. Syntax: app.put(path, callback [, callback ...]) Arguments: Path:… Read More
The app.route() function returns an instance of a single route, which you can then use to handle HTTP verbs with optional middleware. Use app.route() to… Read More
The app.path() function returns the canonical path of the app as a string. The behavior of this method can become very complicated in complex cases… Read More

Start Your Coding Journey Now!