#144

Поділитися
Вставка
  • Опубліковано 23 січ 2024
  • In this lecture you are going to learn how to update data in the database by making an HTTP put request from the angular application. To update data in the server, we need to send an HTTP put request to the server.
    We can send HTTP PUT request to the server using put() method of HTTPClient. So, in this lecture, i will show you step by step how you can implement the functionality of updating the data on a server in your angular application.
    DOWNLOAD STARTUP FILES FOR THIS SECTION HERE: github.com/manojjha86/angular...
    DOWNLOAD FINAL COMPLETE FILES FOR THIS SECTION HERE: github.com/manojjha86/angular...

КОМЕНТАРІ • 9

  • @yunietpiloto4425
    @yunietpiloto4425 9 днів тому

    Isn't a good practice to return the Observable from the service and subscribe in the component?. I see you are subscribing to every observable inside the service which makes it more complex to handle and display errors, for instance.

  • @syedkamranshah1212
    @syedkamranshah1212 4 місяці тому

    Sir, please reply. I have a strong confusion. With this approach, we did crud operation but we still have that Unicast problem with observables, how to solve that, why didn't you use subjects instead?

  • @sasuke3737
    @sasuke3737 3 місяці тому

    Thanks!

  • @ishmaelchirume9480
    @ishmaelchirume9480 5 місяців тому +1

    Kindly give access to 147 video sir, I'm trying to access it

  • @melindauivari9537
    @melindauivari9537 2 місяці тому

    When editMode is true, we have an id field for the task. Why not just pass the data/task .id instead of creating a currentId variable?

    • @viencong
      @viencong 2 місяці тому

      you can log at else in function createOrUpdateTask, in data to attribute of id

  • @sasuke3737
    @sasuke3737 3 місяці тому

    i am working as an angular for the past 1 year in service based company. one thing i clearly understood that i know things in pieces but my hand still shivers when i try to put the pieces together can you please build one clone or any e-commerce website

    • @sasuke3737
      @sasuke3737 3 місяці тому

      i know it will take time but please... i tried doing it myself but i feel like there's lot of room for improvement