change the action of form in node js post code example
Example: how to get data send from a form express
const express = require('express')
const app = express()
app.use(express.urlencoded())
const express = require('express')
const app = express()
app.use(express.urlencoded())