Best pratice for REST-api [Answered]
I have the usual CRUD operations. I'm curious about how to do with put. I can send a id in the request body but it does not take affect in the repository cause the database will just increment the id and create a new one. So im wondering if i should have another model that that does not have the id attribute and use that one in the api instead?
4 Replies