I have a question about Server-side behavior on extra attributes, or fields in general, in request body resource data.
The case is:
I have a resource that has field A, but client send me resouce object that has field A and field B.
How should server respond to this? Of cource I can ignore it, and just process fields I know. Or I can send back a response with exception that field was not recognized, or whole resource linkage is wrong, because resource with field A and field B does not exist. Documentation unfortunatelly does not include answer what to do if request contains extra field data.
Thanks for advice