Update Users
Add the standard HTTP method PUT for the User model in the API.
We'll cover the following
The user update scheme is very similar to the creation scheme. The differences between these two actions are:
- The update action responds to a
PUT/PATCH
request. - Only a connected user should be able to update their information, which means that we will have to force the user to authenticate. We will discuss this later.
Get hands-on with 1400+ tech skills courses.