Re: REST API for no. of product views and add to cart
This attempts to design an efficient, RESTful API as a solution to the problem of ... demonstrate the essence of the argument and by no means are complete or fully functional. ... A POST HTTP request is used to put a product in the cart. ... You didn't call any post api to add product in the cart.