Should I allow sending complete structures when using PUT for updates in a REST API or not?
- by dafmetal
I am designing a REST API and I wonder what the recommended way to handle updates to resources would be. More specifically, I would allow updates through a PUT on the resource, but what should I allow in the body of the PUT request?
Always the complete structure of the resource?
Always the subpart (that changed) of the structure of the resource?…