On 11/27, Florin Ardelian wrote: > Can you explain why the instance ID can't be set to 'edit' in this case?
My mistake, sorry. Of course instance can be set to 'edit', in that case the url will be 'POST /api/instances/edit/edit'. > > On Tue, Nov 27, 2012 at 1:47 PM, Michal Fojtik <[email protected]> wrote: > > > 3. Using 'POST' (POST /api/instances/inst1/edit?name=new_name): > > > > Basically the same thing as 2), but instead of the PATCH HTTP method, we > > can use the > > > > 'POST' method on the 'edit' action. The dark side of this approach is that > > we are poisioning the URL namespace with '/edit' (that is, the instance ID > > can't be set to 'edit'). > > > > -- > Florin > +40-740-903838 -- Michal Fojtik <[email protected]> Deltacloud API, CloudForms
