Re:REST Anti-patterns
by qyv on Monday September 12, 2016 @12:47PM
(#12481279)
Having the /account/:accountid/transfer is not a terrible idea, but I would avoid it because the transfer resource is able to stand on it's own with making it tied to a single account resource.
The key point though is that 'transfer' is the resource to perform all three of the original deposit/withdrawal/transfer actions.
The key point though is that 'transfer' is the resource to perform all three of the original deposit/withdrawal/transfer actions.