Hello,
I am trying to understand better a few REST principles, as well as improving my “parlance” of the subject.
What I do:
A page of my website offers content (JSON format) for other websites to use at their will. I just wanna make sure I’m doing it the correct way.
How it happens:
Someone reaches the url (should I say “ressource”?), gets a JSON string (is “string” the correct word?) and can use what is returned by decoding it.
The url would go like this: http://exemple.com/cars/
And if someone wants to limit the number of resulr returned, I would do it like that:
http://exemple.com/cars/10/ (10 being the 10 newest results)
Do this approach and those urls look correct?
![]()