The final feature of this chapter is about updating a product in the products grid. To implement this feature, we will:
Let's get started by updating the
ProductsClient module. Open the
ProductsClient module in the
productsclient.js file and add a method to send HTTP
PUT request to
http://[host:port]/products. The method should expect the product model and a callback method as parameters. The callback method should get executed on successful ...