[Catalyst] Dispatching with Chained vs HTTP method

Toby Corkindale tjc at wintrmute.net
Wed May 7 07:09:38 BST 2008


On Wed, May 07, 2008 at 03:57:07PM +1000, Toby Corkindale wrote:
[snip]
> $id = POST transaction
> $amount = GET /user/1/account_balance
> $amount2 = GET /user/2/account_balance
> PUT /user/1/account_balance/$amount-1
> PUT /user/2/account_balance/$amount+1
Whoops, that should read:
> PUT /user/2/account_balance/$amount2+1

Go me and my badly named example variables :/



More information about the Catalyst mailing list