ExpressJS Tutorial 19: POST Method (body-parser)

preview_player
Показать описание
Learn how to retrieve data on server using ExpressJS POST method using body-parser module.

Рекомендации по теме
Комментарии
Автор

man that JSON.stringify part got me stuck for half an hour lol. cheers for the help!

HK-swvi
Автор

What I like about your video is, you came very very much straight to the point....From Pune, India

sudhanshoosarage
Автор

Straight to the point, very helpful. Thanks.

olagehrke
Автор

thank you every much, now I know what Body parser really is and when to use it.

shangshi
Автор

why cant node receive data without body parser, like php?

rickyu
Автор

if body parser doesn't work with multipart forms, what can i use to store an uploaded file and get the req body out of the fields ?

MarfTaylor
Автор

Explain how to send a POST request in the format application / x-www-form-urlencoded with ajax ?

kirillbaryba
Автор

Je veux juste bien Apprendre a developer sur ce lien
Je ne trouve pas un lien pour inscrire

vilsenatnewtech
Автор

What happen if I don't use express and I'm using Apache tomcat instead ?. Do you have any example on this escenario please ?

md
Автор

Let's all chip in, and buy him a new mic. So he could take his current mic and shove it up is a55.

notyourbusiness
Автор

can you tell me is there any difference between query and body?

khushipan
Автор

router.post('/:id', async (req, res, next) => {
try {
const cards = await
const cart = await shopcart.create(req.body);
console.log(cart);
res.status(200).json({ success: true, data: cart })
the cards object extract data ito database i want to pass in req.body how can i do that i try alot like JSON.stringify(card) but i am stuck

harisahmed
Автор

can I have a copy paste for the final product of this video?

herohamp
Автор

volume bump* but besides the point, can't seem to get the input box to appear

MrZanProductions
Автор

damn dude why put body parse in the tite if u not gonna explain how it works

MrPagnito