-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi.json
More file actions
224 lines (224 loc) · 4.32 KB
/
api.json
File metadata and controls
224 lines (224 loc) · 4.32 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
{
"questions": [
{
"answers": [
"GET",
"POST",
"PUT",
"REQUEST",
"PATCH"
],
"correct": {
"index": 3
},
"number": 1,
"prompt": "Which is not a HTTP Verb?"
},
{
"answers": [
"True",
"False"
],
"correct": {
"index": 1
},
"number": 2,
"prompt": "A 2xx HTTP response code indicates redirection?"
},
{
"answers": [
"True",
"False"
],
"correct": {
"index": 0
},
"number": 3,
"prompt": "A 4xx HTTP response code indicates client error?"
},
{
"answers": [
"True",
"False"
],
"correct": {
"index": 0
},
"number": 4,
"prompt": "A HTTP Response contains response code, headers, and body?"
},
{
"answers": [
"True",
"False"
],
"correct": {
"index": 1
},
"number": 5,
"prompt": "A synchronous API will generate a status code 202?"
},
{
"answers": [
"Representational State Transfer",
"REST Assured API",
"Rest Interface",
"Representational Status Transfer"
],
"correct": {
"index": 0
},
"number": 6,
"prompt": "REST stands for?"
},
{
"answers": [
"redirection",
"successs",
"informational",
"client error"
],
"correct": {
"index": 2
},
"number": 7,
"prompt": "What category does 1xx HTTP codes belong to?"
},
{
"answers": [
"Uniform Interface",
"Stateless",
"Stateful",
"Cacheable",
"Client-Server",
"Layered System",
"Code on demand"
],
"correct": {
"index": 2
},
"number": 8,
"prompt": "What is not a constraint of API?"
},
{
"answers": [
"True",
"False"
],
"correct": {
"index": 1
},
"number": 9,
"prompt": "Base64 is used in basic API authentication for security?"
},
{
"answers": [
"True",
"False"
],
"correct": {
"index": 1
},
"number": 9,
"prompt": "API keys are generated every time a user logs in?"
},
{
"answers": [
"True",
"False"
],
"correct": {
"index": 0
},
"number": 10,
"prompt": "Synchronous API wait for data to be returned before proceeding?"
},
{
"answers": [
"500",
"401",
"404",
"409"
],
"correct": {
"index": 0
},
"number": 11,
"prompt": "Which of the following HTTP status codes means INTERNAL SERVER ERROR?"
},
{
"answers": [
"REST",
"RPC"
],
"correct": {
"index": 1
},
"number": 12,
"prompt": "NETCONF is an example of a ___ call?"
},
{
"answers": [
"synchronous",
"REST",
"Asynchronous",
"RPC"
],
"correct": {
"index": 1
},
"number": 12,
"prompt": "Type of API that is resource oriented and makes use or URI and HTTP verbs in order to perform actions against a resource?"
},
{
"answers": [
"True",
"False"
],
"correct": {
"index": 1
},
"number": 14,
"prompt": "The python requests library is part of the default python package?"
},
{
"answers": [
"GET",
"POST",
"PUT",
"DELETE"
],
"correct": {
"index": 2
},
"number": 15,
"prompt": "Which HTTP verb is used for updating a resource?"
},
{
"answers": [
"Response code",
"Headers",
"Body"
],
"correct": {
"index": 1
},
"number": 16,
"prompt": "Which part of a HTTP response contains metadata about the device?"
},
{
"answers": [
"True",
"False"
],
"correct": {
"index": 0,
"text": "//end"
},
"number": 17,
"prompt": "Each API request must contain all the information necessary to be understood by the server?"
}
],
"title": "API",
"url": "https://jshively37.github.io/"
}