REST Hateoas, managing CRUD on a ressource -
context
i m developping simple application in need use rest level 3 hateoas.
i m having 2 entities :
- user
- billing
i need, when add billing, reference user inside of it.
questions
what informations should send backend, frontend app, add hateoas reference, inside billing ressource, concerning user ?
i mean, inside body of request, should send url of user ressource ? or should send id of user, , making url discovering real user url ?
Comments
Post a Comment