i prefer the A
, it allows client the flexibility whether or not to update the existing data.
also with this method, implementation and access control becomes much more easier.
for example you can simply broadcast the userUpdated
event to all users, this saves having a client list for do specific broadcasts and the Access Controls and Authentications
applied for your REST Route wont have to change to reapplied again because the client is gonna make a GET
request again.
Many things depends on the what kind of application you are making.