John D. Mitchell wrote:
IIUC your need, the user ID should be in the URL proper since that's
what is used to identify the specific resource. I.e.,
/users/johnm/...

Right, that's actually a good point. It's possible that the best url scheme for the original poster is someting like:

/users/[EMAIL PROTECTED]/

If the email address is going to be used as the primary key (or at least a candidate key), then the above should work. In this case, to delve into the semantics a little, it should probably be a PUT rather than a POST (since the key is known ahead of time).

Adam

Reply via email to