On Tue, Dec 28, 2010 at 4:39 PM, mahmoudimus <[email protected]> wrote:
> Would it more make sense for the POST request for something like
> "accounts/transfer" to contain the account_id as part of the payload
> instead of having it in the hierarchal URL structure? That would
> certainly simplify things.

That's what I would do.

Using a RESTful ID implies that this should logically be considered a
part of the resource. And in some applications it may indeed be
logical to consider out-transfers that way. But if the focus is on the
transfer itself, and the from and to IDs are secondary, then it makes
sense to put them in the payload.

-- 
Mike Orr <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to