Home Rest - can payload contain data from resource uri?
 Imagine having REST endpoint /users/{userId}/notifications/{notificationId}. When performing post on /users/{userId}/notifications resource, is it OK if notification payload contains also userId attribute? { "id":"123", "type":"sms", "userId":"123", "content":"something" } It is a bit redundant since it is also part of the URI, so server can parse it, and if it was there - backend would have to decide whether it would ignore it on post, or whether it would validate equality with uri part. On the other hand, it is very handy if notification payload encapsulates all data - also userId. It could behave the same way as id - it is part of the payload but it is ignored on get request.