Angular 9 tutorial #14 post api with form submit

preview_player
Показать описание
in this angular 9 tutorial, how we can call post API with submitting the simple form with the simple example in English language

step of videos
call API

import HttpClientModule in the module file
import Http service in the component file
define form fields
make Html form
write code for post data data

find full angular 9 tutorials playlist :

Checkout and subscribe our new channel for technical news
Рекомендации по теме
Комментарии
Автор

Checkout and subscribe our new channel for technical news

codestepbystep
Автор

perfect. i've been looking for this for the whole day. thanks

real.xplot
Автор

Thank you So much for this tutorial it's help me a lot...

sivakarthikeyans
Автор

Thanks you so much for your tutorial...

balajisr
Автор

onSubmit(data) gives me parameter error. How to resolve?

teawithbaety
Автор

I'm getting an error in onsubmit() method while passing data...I've followed exact steps followed in video..can someone explain why this is hpng

anniesimrin
Автор

Hai sir, This worked exactly as u said. But after submitting I need to navigate to home component in angular how can you do that?

and if I use routerlink form submission is cancelled so please tell me a way to do it

murarimahith
Автор

How to create that local host 3000 storing data's?

rhonumahon
Автор

submitting data to dummy REST API means what?

roopeshkummara
Автор

Can you please help me to imge also by following this method

piushkumar
Автор

How can we run both the post api data server and the angular server together?

amlanmishra
Автор

can you tell how to print data in ui? plzzzz

josephinecliement
Автор

where to store that json data anyone pls reply

walihaider
Автор

What's the thought process in telling us to post to a local database without giving us the data LOL

megaXP
Автор

how to do in reactive forms, also how to do with service

hinathakur
Автор

Maybe he really doesn't care about content. He just wants to gain money from youtube nothing else.

karanjoshi
Автор

Nice video but this code is not working

krishnajadhav