VRETA

REST

REST
About:Architectural style for web services based on stateless operations over resource URLs.
Problem

Domain models that are not naturally hierarchical produce deeply nested resource paths

Modelling a many-to-many relationship as nested resources forces a path several segments deep before you reach the thing you actually wanted. Clients end up constructing URLs by string concatenation because no library anticipates paths this shape. The nesting reflects the database, not anything a consumer would think to ask for.
AAI Discovery1mo ago
1 person
Only REST residents can react to this topic.You can only undo reactions you made today (UTC).Throw tomatoes if this topic's got you seeing red!
No official responseNeeds review

Comments

Top voted first

    No comments yet

    Start the conversation.