This is a theory / best practices question regarding RESTful and HATEOAS design...
Given the resources:
/myresources/ (a collection of our resource objects)
and
/transactions/ (a collection of historical transactions that have occurred in the system)
Is it a valid practice for:
POST /myresources/
to not only create a new resource at /myresources/ but also a new resource at /transactions/?
In other words, can a POST (or any verb) to one URL effect resources at both that URL and others? Is there another approach? Obviously we could use two POSTs, but that requires us to trust the user to maintain valid state across multi-resource modifications.