I am creating a web service and I have some questions regarding path names. How do you define resource actions in a RESTful web service?
For example: Quiz resource. You have normal CRUD actions, and you also want to do something with the quiz. For example, creating a new quiz. This is an action. Are you using a path, for example, /quiz/top5or /quiz?type=top5or what?
I do not understand how you write the paths that perform actions on a resource when creating a RESTful service.
source
share