Sending a Post Request | Angular HTTP | Angular 13+

Поделиться
HTML-код
  • Опубликовано: 9 окт 2024
  • 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.c...

Комментарии • 45

  • @vinayakteradali4754
    @vinayakteradali4754 2 года назад +3

    One of the best lecturer on RUclips 😐😀

  • @meanpillscasper
    @meanpillscasper Год назад +1

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

  • @jacobokomo6077
    @jacobokomo6077 Год назад +6

    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 Год назад +1

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

  • @sampathiraoraghava4152
    @sampathiraoraghava4152 2 года назад +1

    Teaching is very good sir

  • @upendrad6081
    @upendrad6081 Год назад +1

    Simply superb

  • @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.

  • @tajdarkhanafridi7163
    @tajdarkhanafridi7163 Год назад +1

    Very informative - Thanks a lot

  • @thatChillLife2037
    @thatChillLife2037 Год назад

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

  • @mdahsan5854
    @mdahsan5854 Год назад +1

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

  • @ayelamadhuri9635
    @ayelamadhuri9635 Год назад +1

    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.

  • @deepbpatel2183
    @deepbpatel2183 2 года назад

    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??

  • @abhishekamaragolhiremath8152
    @abhishekamaragolhiremath8152 2 года назад +1

    best one sir

  • @harukananase9568
    @harukananase9568 10 месяцев назад

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

  • @JesseUnderscoreMartin
    @JesseUnderscoreMartin 2 года назад +1

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

    • @procademy
      @procademy  2 года назад +1

      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

  • @sarikalambole8427
    @sarikalambole8427 11 месяцев назад

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

  • @RAHULMISHRA-lv9jg
    @RAHULMISHRA-lv9jg Год назад

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

  • @Inkartnee123
    @Inkartnee123 2 года назад

    You're an amazing teacher. Thank you

  • @abdullah44gur
    @abdullah44gur Год назад

    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.

  • @Andrei_D.
    @Andrei_D. Год назад

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

  • @robertogwcasa4551
    @robertogwcasa4551 2 года назад +1

    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

  • @020jesintha6
    @020jesintha6 2 года назад

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

  • @aaalearnings4899
    @aaalearnings4899 9 месяцев назад

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

  • @kasunmuditha6112
    @kasunmuditha6112 Год назад

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

  • @vulci-g-769
    @vulci-g-769 Год назад

    Thank you very much!

  • @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?

  • @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

  • @sarikalambole8427
    @sarikalambole8427 11 месяцев назад

    please make a video on CRUD using reactive form

  • @ituniro
    @ituniro Год назад

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

  • @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 Год назад +1

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

  • @marcopolocs
    @marcopolocs 2 года назад

    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  2 года назад

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

  • @Data_science-and-ml
    @Data_science-and-ml Год назад

    Wonderful

  • @alibozlak
    @alibozlak Год назад

    Thanks 🙏

  • @seyhmusalatas1740
    @seyhmusalatas1740 Год назад

    Wonderfullll

  • @tuku_mann
    @tuku_mann 2 года назад

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

    • @procademy
      @procademy  2 года назад +1

      Added in description

  • @prernasingh5564
    @prernasingh5564 2 года назад +1

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

  • @deepalijangid9765
    @deepalijangid9765 9 месяцев назад

    Please show the complete html code. It is not visible

  • @Horsti10001
    @Horsti10001 2 года назад +1

    i love you

  • @dipalipotdar9488
    @dipalipotdar9488 Год назад

    after downlOAD NO SRC FOLDER Present

  • @avishekojha6422
    @avishekojha6422 Год назад

    How to send more than 3 args in http post

  • @romdaro5721
    @romdaro5721 Год назад

    can u share me the link database ?