-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.http
More file actions
77 lines (58 loc) · 1.9 KB
/
Copy pathtest.http
File metadata and controls
77 lines (58 loc) · 1.9 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
GET http://cehtest.org/start_test
Accept: */*
Content-Type: application/json
###
GET http://cehtest.org/next_question
Accept: */*
Content-Type: application/json
###
GET http://localhost:8080/api/media/t2_02.jpg
###
GET localhost:8080/api/questions/
###
POST localhost:8080/api/trainings/
###
GET localhost:8080/api/trainings/
###
GET localhost:8080/api/trainings/1219c451-0925-459b-b5ca-a494b0183937
###
GET localhost:8080/api/trainings/e1d2dee3-e957-4650-9ecc-b1abf34a7be2/challenges
###
GET localhost:8080/api/questions/d7d5ab0b-0099-4769-82f8-1b246533360c
###
GET localhost:8080/api/history/21d3a494-3ec6-4638-b0cf-401b80c34b2d/0
###
PATCH localhost:8080/api/trainings/4a385476-794a-467c-85b9-d93acab86ffd
Content-Type: application/json
{"answer": "67b5b10f-38b7-4d4f-ad36-5026df0ff715"}
###
GET localhost:8080/api/questions/
###
GET localhost:8080/api/questions/66931fec-ce45-474d-8df3-849a41bb07a0
###
PATCH localhost:8080/api/questions/581f608e-c21b-4ebb-84e2-7ba66f51babc
x-api-key: Z2VoZWlt
Content-Type: application/json
{
"id": "66931fec-ce45-474d-8df3-849a41bb07a0",
"text": "Which among the following is the best example of the hacking concept called \"covering tracks\"?",
"answerId": "091e8c1f-f308-4110-8909-03a63f47af90",
"choices": [
{
"id": "091e8c1f-f308-4110-8909-03a63f47af90",
"text": "After a system is breached, a hacker creates a backdoor to allow re-entry into a system."
},
{
"id": "4ef78e24-800e-4b68-8909-d31182c8c9f3",
"text": "During a cyberattack, a hacker injects a rootkit into a server."
},
{
"id": "cf55fdaa-8253-49a6-aa48-08faa3e0a9fc",
"text": "An attacker gains access to a server through an exploitable vulnerability"
},
{
"id": "e1a8d7ca-128a-44d1-a740-91c03013fd40",
"text": "During a cyberattack, a hacker corrupts the event logs on all machines."
}
]
}