Hi Udara, IMHO, since we are explicitly naming the URL objects when adding dependencies and properties (<app_id> <cluster_id> <property name>) it's better to use PUT operation instead of POST.
PUT operation is idempotent while POST is not. So when creating named resources we should use PUT since repetitive requests will not have any effect. IMO, we should change our REST API to adhere to RESTful design. wdyt? Thanks. On Wed, Sep 17, 2014 at 5:04 PM, Udara Liyanage <[email protected]> wrote: > > Hi, > > Thanks for the suggestion. My basic idea was to get the ideas of the > workflow and requires REST API s. > > Touched, not typed. Erroneous words are a feature, not a typo. -- Akila Ravihansa Perera Software Engineer, WSO2 Blog: http://ravihansa3000.blogspot.com
