Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

  1. Create a user URL: /api/add/user Method : POST Request Body: { "id": 0, "name": "string", "emailId": "string", "mobile": 0 } Response: 201 Successfully added user to db 417 User already present

  1. Get all users URL: /api/get/allUsers Method : GET No parameters Response: 200 OK shows all users 404 No user found

  1. Get user by id URL: /api/get/user/{userId} Method : GET Pathvariable : userId (integer) Response: 200 OK shows the user 404 User not found

  1. Update user details URL: /api/update/user Method : PUT Request Body: { "id": 0, "name": "string", "emailId": "string", "mobile": 0 } Response : 200 User details updated 404 User not found in db

  1. Delete user from db URL /api/delete/user/{userId} Method : DELETE Path variable : userId Respose: 200 User deleted from db 404 User not found in db

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages