deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florin Ardelian <f.ardel...@gmail.com>
Subject Re: Updating resources
Date Tue, 27 Nov 2012 13:09:11 GMT
Can you explain why the instance ID can't be set to 'edit' in this case?

On Tue, Nov 27, 2012 at 1:47 PM, Michal Fojtik <mfojtik@redhat.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message