Hi Jerome,
> 
> Your bank example looks good. I would just change the URI to
> '/transactions/accountCreations' to make it look more less like a
> verb/action which could be confusing when used with HTTP methods.

I thought hard about this one. I concluded that using the verb (createAccount)
was the right thing to do because it's the name of the resource (transaction).
when I PUT /transactions/createAccount, I don't create an Account resource,
I create a Transaction which name is 'createAccount'.
When I POST to /transaction/createAccount/123,  'createAccount' is part of the
resource's name (the tx), not an indication of what to do with the resource (as
it'd be the case with a url like 'account/createAccount').

-Vincent.

Reply via email to