Node js Tutorial | Submit HTML Form Data

Node js Tutorial | Submit HTML Form Data

Webslesson

2 года назад

38,286 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

betelhem yemane
betelhem yemane - 20.10.2023 14:34

i was having trouble while installing express in the form directory, it was removing all the npm node modules. in that case i reinstalled nodejs in my computer then i deleted the form directory and then inside downloads folder i made a new folder and inside that folder i installed the express module with this command: "npm install express --save". then everything worked fine and i was able to continue.

Ответить
Flora Merano
Flora Merano - 09.04.2023 14:00

You have made this more complicated than it needs to be by including Bootstrap code. Not to mention that you're not using VS Code but some random text editor this time. Talk about consistency.

Ответить
Ilyas Raza
Ilyas Raza - 10.03.2023 16:13

use app.use(express.urlencoded({ extended: true }));

Ответить
Vikas Sharma
Vikas Sharma - 09.02.2023 10:24

how to open a text editor

Ответить
Neel Ganatra
Neel Ganatra - 09.10.2022 16:29

Sir you need to update the code as we are getting undefined or blank, so we need to add below in our code

const bp = require('body-parser');

app.use(bp.json());
app.use(bp.urlencoded({extended:true}));

Ответить
chenna preetham
chenna preetham - 10.08.2022 12:14

Turn off the background music next time please

Ответить
Steven Cook
Steven Cook - 29.07.2022 05:48

Created same setup but I get no data returned. You need to post your code and ensuare your up to date.

Ответить
Irad Doron
Irad Doron - 18.07.2022 05:47

Great video but I wish you turned of the background music. It makes it more difficult to understand and enjoy your content.

Ответить
Moh Rafay
Moh Rafay - 08.06.2022 09:19

can you show how to post this form data in a postgres table?

Ответить
Daksh Jain
Daksh Jain - 27.04.2022 12:11

Hey I tried the same code but it's showing {} and not the output

Ответить
Learn it with Muhindo
Learn it with Muhindo - 18.04.2022 14:59

you finally revealed your voice!😂

Ответить
Md Anwar Hossain
Md Anwar Hossain - 18.04.2022 10:50

Thank you so much dear..
Your voice is so nice...

Ответить
Davide
Davide - 12.04.2022 23:15

Thanks 👍

Ответить
Samuel Onowuko
Samuel Onowuko - 11.04.2022 11:04

Thank you for creating this tutorial

Ответить