I have a philosophical question here. Say I have a website that uses two
models for accounts: Person and Company. Normally I would just have
/accounts/new for user signup.
However, the RESTful way to do it is to have /people and /companies.
Unfortunately, this doesn’t account for a situation where you’d have a
one-page signup form. I wouldn’t want this to be a two page process,
because somebody could close their browser mid-process and that would
leave me with an incomplete account with only a Company or Person entry.
How would you all solve this in a RESTful way?
I am strongly considering adopting REST for most of my projects, but I
can’t decide how I want to solve this.