Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Update user api #43

Open
pbteja1998 opened this issue Sep 10, 2019 · 0 comments
Open

Update user api #43

pbteja1998 opened this issue Sep 10, 2019 · 0 comments

Comments

@pbteja1998
Copy link
Member

pbteja1998 commented Sep 10, 2019

  • 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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant