WIP
This commit is contained in:
parent
1e38efaa63
commit
790c2f4bc4
15 changed files with 92 additions and 5 deletions
12
requests/employee/createEmployee.http
Normal file
12
requests/employee/createEmployee.http
Normal file
|
@ -0,0 +1,12 @@
|
|||
POST https://employee.szut.dev/employees
|
||||
Authorization: Bearer {{auth_token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"firstName": "yomom",
|
||||
"lastName": "yomom",
|
||||
"street": "yomom",
|
||||
"postcode": "yomom",
|
||||
"city": "yomom",
|
||||
"phone": "yomom"
|
||||
}
|
2
requests/employee/deleteEmployee.http
Normal file
2
requests/employee/deleteEmployee.http
Normal file
|
@ -0,0 +1,2 @@
|
|||
DELETE https://employee.szut.dev/employees/310
|
||||
Authorization: Bearer {{auth_token}}
|
2
requests/employee/getAllEmployees.http
Normal file
2
requests/employee/getAllEmployees.http
Normal file
|
@ -0,0 +1,2 @@
|
|||
GET https://employee.szut.dev/employees
|
||||
Authorization: Bearer {{auth_token}}
|
2
requests/employee/getEmployee.http
Normal file
2
requests/employee/getEmployee.http
Normal file
|
@ -0,0 +1,2 @@
|
|||
GET https://employee.szut.dev/employees/312
|
||||
Authorization: Bearer {{auth_token}}
|
Reference in a new issue