Skip to content
Marat Gaip edited this page Mar 23, 2017 · 3 revisions

User CRUD

Get all Users:

Type: GET
url: /api/users/

Add User:

Type: POST
url: /api/users/
body: { 'username': 'username', 'password': 'password', 'email': 'test@test.com'}

Get User:

Type: GET
url: /api/users/:id

Update User

url: /api/users/:id
Type: PUT
body: { 'username': 'username', 'password': 'password', 'email': 'test@test.com', 'name': 'name', }

Delete User

url: /api/users/:id
Type: DELETE

Clone this wiki locally