Im new to nodejs and express and I cant seem to phantom as per why this method isnt resolved in Webstorm. The .get method returns fine, testing it with the .all method works fine aswell. I have no clue why the .post method is unresolved, node starts up finemodule.exports router package.json. POST method route app.post(/, function (req, res) res.send(POST request to the homepage) ). Express supports the following routing methods that correspond to HTTP methods: get, post, put, head, delete, optionsUse the express.Router class to create modular, mountable route handlers. method: POST, validate. respondimport router from expressjs-router const app express() 2. Start and stop express. 3. How express works. 4. Routers (Controllers).
5. Express Template Engines. 5.1. Hogan template engine.There are 4 routing methods: router.get() -get GET variables from URI. router.post() -get POST variable from HTML form. The Basics.