-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.http
35 lines (29 loc) · 897 Bytes
/
test.http
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
### STATUS 200
GET localhost:8080/api/gitlab/get_users?page=1&employee_id=1029871
Content-Type: application/json
Authorization: Basic admin test
### STATUS 200
POST localhost:8080/api/gitlab/add_user?employee_id=1029871
Content-Type: application/json
Authorization: Basic admin test
{
"user_name": "mylonskiy.vladimir23",
"first_name": "Мылонский",
"last_name": "Владимир",
"email": "[email protected]"
}
### STATUS 200
GET localhost:8080/api/gitlab/get_user?id=2&employee_id=1029871
Content-Type: application/json
Authorization: Basic admin test
### STATUS 204
POST localhost:8080/api/gitlab/block_user?employee_id=1029871
Content-Type: application/json
Authorization: Basic admin test
{
"id": 3
}
### STATUS 204
GET localhost:8080/api/gitlab/check_valid_token?employee_id=1029871
Content-Type: application/json
Authorization: Basic admin test