-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.txt
More file actions
57 lines (27 loc) · 821 Bytes
/
README.txt
File metadata and controls
57 lines (27 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Postman was used to test API functionality through the use of Headers
1) Create employee
POST - http://localhost:8080/api/employees/createEmployee
(example)
Key Value
employeeId 1
employeeName John Doe
department IT
• Creates and stores an employee entry
2) Fetch employee by ID
GET - http://localhost:8080/api/employees/fetch
(example)
Key Value
employeeId 1
• Returns a stored employee by ID
3) Fetch all employees
GET - http://localhost:8080/api/employees/fetch/all
• Returns all stored employees
4) Delete employee by ID
DELETE - http://localhost:8080/api/employees/delete
(example)
Key Value
employeeId 1
• Deletes a specified employee by ID
5) Delete all employees
DELETE - http://localhost:8080/api/employees/delete/all
• Deletes every employee entry