Take a look at apigee blog about design for getting some ideas how to handle the different aspects of identifying a resource - directly/by relationship navigation (in path) or by query (in parms) - and do an operation on them... providing and receiving data. Latter most likely makes you also have a body - url is not sufficient (and verbs and parameters are not exactly the restful way to do it).
But if you want everything in the url, you will compromise... ;)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Take a look at apigee blog about design for getting some ideas how to handle the different aspects of identifying a resource - directly/by relationship navigation (in path) or by query (in parms) - and do an operation on them... providing and receiving data. Latter most likely makes you also have a body - url is not sufficient (and verbs and parameters are not exactly the restful way to do it).
But if you want everything in the url, you will compromise... ;)