|
|
|
|
|
by digitallimit0
5233 days ago
|
|
In terms of a RESTful web service, is an object's id supposed to be passed in as a parameter in a GET request, or be a part of the core URI, e.g. api.test.com/teacher/1234 would retrieve the teacher of id=1234 or api.test.com/students/1234 would retrieve that teacher's students. Is api.test.com/teacher?id=1234 more kosher? |
|