On Monday, February 27, 2017 at 3:38:34 PM UTC+1, Xavier Ordoquy wrote:
The more strict RESTfull way would be to use the several entry points and use hyperlinks on them (though it would add some extra requests).
This is just about representation. Nobody forces you to do such things.
You may include more or less data, require linking or not - it does not matter. Client should just *know* what to do - read *something* or *follow link* to read *something*.
Everything is about semantic, not about a structure.
The most important is hyperlinking, hypermedia and the state transfer.
Marcin
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/374d2df8-23b1-4bd8-9a22-9203d007d7b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment