DEV Community

Discussion on: There is No U in CRUD

Collapse
 
subinvarghesein profile image
Subin Varghese • Edited

As I understand REST, URIs point to resources on server so that I can perform CRUD operations (GET/POST/PUT/DELETE operations if HTTP) on them using these URIs.

So when I perform GET operations on /account/<accountId>/debit and /account/<accountId>/credit, would I be getting back DebitableAccount and CreditableAccount representations of account back respectively?
Or is it that they are not pointing to any resource and are just for performing some particular action?