Sending a Post Request | Angular HTTP | Angular 13+

In this lecture you will learn how create and add some data in the database by sending an HTTP post request to the server. Let's learn step by step how to send a post request from an angular application.
DOWNLOAD STARTUP PROJECT HERE: drive.google.com/file/d/1cYuD...

Пікірлер: 45

  • @thatChillLife2037
    @thatChillLife2037 Жыл бұрын

    Yes this was great thank you so much! I have so much more confidence with http client than before I watched it :)

  • @vinayakteradali4754
    @vinayakteradali47542 жыл бұрын

    One of the best lecturer on KZread 😐😀

  • @meanpillscasper
    @meanpillscasper10 ай бұрын

    Thank you sir. You are a blessing on this Earth.

  • @jacobokomo6077
    @jacobokomo6077 Жыл бұрын

    This was a wonderful tutorial, bit by bit 😊. It was my very first time doing this(though in Django) and shout outs, you saved my time a whole lot. 💗

  • @_Afsus
    @_Afsus Жыл бұрын

    you saved my day with the subscribe issue !!! thanks bro

  • @tajdarkhanafridi7163
    @tajdarkhanafridi7163 Жыл бұрын

    Very informative - Thanks a lot

  • @vern0312
    @vern0312 Жыл бұрын

    Wow thanks for this video. I was chasing a ghost for 2 days trying to figure why my api was not being called.

  • @upendrad6081
    @upendrad6081 Жыл бұрын

    Simply superb

  • @ayelamadhuri9635
    @ayelamadhuri9635 Жыл бұрын

    I have a question that why i'm not able to see those responses in the console. but the data is available in the end URL with the product name as well...and the data i have dubmitted is also available under products array...but i response is not logging properly in the console....please help me with this.

  • @Inkartnee123
    @Inkartnee1232 жыл бұрын

    You're an amazing teacher. Thank you

  • @deepbpatel2183
    @deepbpatel2183 Жыл бұрын

    what is the use of header?? whether we write the third param or not, it does not make any difference in the database so what is the main usecase of it??

  • @vulci-g-769
    @vulci-g-769 Жыл бұрын

    Thank you very much!

  • @sampathiraoraghava4152
    @sampathiraoraghava4152 Жыл бұрын

    Teaching is very good sir

  • @020jesintha6
    @020jesintha6 Жыл бұрын

    What can I do if my headers option is not executed successfully.. I don't receive an 'ok' in status code

  • @sarikalambole8427
    @sarikalambole84278 ай бұрын

    is this crud operations same for reactive forms in angular-16?

  • @abhishekamaragolhiremath8152
    @abhishekamaragolhiremath81522 жыл бұрын

    best one sir

  • @abdullahgur7740
    @abdullahgur7740 Жыл бұрын

    Hi, thans for this tutorial. I try to post data from signup page to postgresql database. Is there any way to do it, this task.

  • @kasunmuditha6112
    @kasunmuditha6112 Жыл бұрын

    sir may I know , is this post request same for reactive forms?

  • @mdahsan5854
    @mdahsan5854 Жыл бұрын

    Why you did not use service class here in order to pass url? Without service class it is possible to connect with API?

  • @seyhmusalatas1740
    @seyhmusalatas1740 Жыл бұрын

    Wonderfullll

  • @Andrei_D.
    @Andrei_D. Жыл бұрын

    What is the correct method to refresh the All products list automatically after the Add Product?

  • @Data_science-and-ml
    @Data_science-and-ml Жыл бұрын

    Wonderful

  • @RAHULMISHRA-lv9jg
    @RAHULMISHRA-lv9jg Жыл бұрын

    Sir in my case, firebase is giving error code 401 , unauthorised access, even if it is in test mode...

  • @alibozlak
    @alibozlak Жыл бұрын

    Thanks 🙏

  • @ituniro
    @ituniro Жыл бұрын

    Getting CORS error while submit. Any tips to fix that?

  • @sarikalambole8427
    @sarikalambole84278 ай бұрын

    please make a video on CRUD using reactive form

  • @Horsti10001
    @Horsti100012 жыл бұрын

    i love you

  • @Toulkun
    @Toulkun Жыл бұрын

    I have one question, i have seen some examples where someone tends to use "return this.http.post...", from my understanding function at the same time posts the resource to server and returns the resource posted in? Right?

  • @JesseUnderscoreMartin
    @JesseUnderscoreMartin2 жыл бұрын

    And idea why the OPTIONS request is listed after the POST request at 13:20 ? Is it just odd browser behavior?

  • @procademy

    @procademy

    2 жыл бұрын

    The latest requests will be displayed at the top. Since first the OPTION request is made and after that the POST request, the POST request is at the top. And after that OPTION request

  • @harukananase9568
    @harukananase95687 ай бұрын

    'http error response'. There seems a problem. The response I get in the network is { 'error' : "Permission failed" } Why is that? Please help. Thanks.

  • @triveniparsam3724
    @triveniparsam3724 Жыл бұрын

    I am getting 405 not allowed error in development console and In my firebase database also data is not getting inserted....please fix my problem anyone

  • @aaalearnings4899
    @aaalearnings48996 ай бұрын

    I am facing CORS plocy issue. Please guide me to resolve it.

  • @michkelanglo545
    @michkelanglo545 Жыл бұрын

    If ngModel is used within a form tag, either the name attribute must be set or the form control must be defined as 'standalone' in ngModelOptions.. getting this error

  • @jacobokomo6077

    @jacobokomo6077

    Жыл бұрын

    Hello, I never used ngModel, my form tag only had , I used a btn submit button and it's just fine.

  • @marcopolocs
    @marcopolocs Жыл бұрын

    Great tutorial! I have a question though: I tried to replicate what you did here but for me Firebase created a products object and the name of every object is the number of the position the object takes in the array (so 0, 1, 2...). How did you manage to change the NAME of the object to for example -N01VvCsv2...? Because in your DELETE request tutorial you use this ID to find and delete the data in the database.

  • @procademy

    @procademy

    Жыл бұрын

    Can you please elaborate on the problem or if possible can you send me the code snippet and screenshot of the problem

  • @robertogwcasa4551
    @robertogwcasa4551 Жыл бұрын

    Thanks very much for your lectures. I have learned a lot. Is there a way to have the final code for the ANGULARHTTPREQUEST? Thanks in advance

  • @avishekojha6422
    @avishekojha6422 Жыл бұрын

    How to send more than 3 args in http post

  • @romdaro5721
    @romdaro5721 Жыл бұрын

    can u share me the link database ?

  • @deepalijangid9765
    @deepalijangid97656 ай бұрын

    Please show the complete html code. It is not visible

  • @tuku_mann
    @tuku_mann2 жыл бұрын

    Unfortunately, there's no link in the description :(

  • @procademy

    @procademy

    2 жыл бұрын

    Added in description

  • @dipalipotdar9488
    @dipalipotdar9488 Жыл бұрын

    after downlOAD NO SRC FOLDER Present

  • @prernasingh5564
    @prernasingh5564 Жыл бұрын

    I dnt know why but your explanation is just same as one of the angular tutorial on udemy 😅.

Келесі