@n00b, REST - , , .
. - , , Roy, RESTful. -, - , . "" , . Microsoft. , .
, - ...
, API . , , : , - . API - : " API, ", , HTTP- .
, RESTful API , . GET - /users/123, /loggedUser.
I believe that there is a logical difference with the authentication and authorization actions (I registered, was verified who I am, and therefore got access to specific resources in the system), unlike "I am a 123 user."
The reason you can disagree with this is because it makes your API more difficult to detect for people - someone who is trying to figure out how to get information about the current user needs to log in and then remember their user ID .
source
share