3 ms·
One advantage I see is that now you can do /pets?owner=/people/98765 or /pets?owner=/org/98765 which makes your api more polymorphic. Having said th
by perfunctory 7y ago
One advantage I see is that now you can do
/pets?owner=/people/98765
or
/pets?owner=/org/98765
which makes your api more polymorphic.
Having said that I don't think URL is the right term to describe this. It's more like a <type, id> tuple.