-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathRestAPI_URL
More file actions
20 lines (19 loc) · 811 Bytes
/
RestAPI_URL
File metadata and controls
20 lines (19 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
getAllUsers:::
http://localhost:8080/users
----------------------------------------------------------------------------------
getUserById:::
http://localhost:8080/users/user/{userId}
----------------------------------------------------------------------------------
createUser
http://localhost:8080/users/user/create
JSON Input:::
{"id":3,"firstName":"Martin","lastName":"Bingel"}
----------------------------------------------------------------------------------
updateUser:::
http://localhost:8080/users/update/{userId}
JSON Input:::
{"id":3,"firstName":"Martin","lastName":"Nelson"}
----------------------------------------------------------------------------------
deleteUser:::
http://localhost:8080/users/delete/{userId}
----------------------------------------------------------------------------------