openrank-backend icon indicating copy to clipboard operation
openrank-backend copied to clipboard

Update user api

Open pbteja1998 opened this issue 6 years ago • 0 comments

  • Add an api for updating user. ( PUT /api/users/:id)
  • Expect user jwt token as Bearer Token in header.
  • Validate whether id passed and the user fetched from token are same. If not, send 401.

pbteja1998 avatar Sep 10 '19 23:09 pbteja1998