java - best way to do Spring + Jersey user based API callss / transactions? -
What's the best way to handle the following scenarios:
Suppose I have a user with information DB is:
User ID, name, age, email
and I have a restore API that can change it:
@ POST Public Zero EditUserInfo (some debates) {// stuff}
The user only has to handle most of his information (i.e. "update where userid = X") to change What would be the best way
Should the user ID be saved in the cookie and then should be drawn into a logic through a cookie?
Or is there a simpler way to handle this (or more secure way?)
Comments
Post a Comment