-
Notifications
You must be signed in to change notification settings - Fork 0
/
UMain.dfm
399 lines (399 loc) · 8.74 KB
/
UMain.dfm
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
object Form1: TForm1
Left = 0
Top = 0
Caption = 'REST Client'
ClientHeight = 593
ClientWidth = 802
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Splitter1: TSplitter
Left = 0
Top = 163
Width = 802
Height = 3
Cursor = crVSplit
Align = alTop
Beveled = True
ExplicitLeft = 799
ExplicitTop = 169
ExplicitWidth = 405
end
object Panel1: TPanel
Left = 0
Top = 0
Width = 802
Height = 32
Align = alTop
BevelOuter = bvNone
BorderWidth = 4
TabOrder = 0
object Splitter2: TSplitter
Left = 209
Top = 4
Height = 24
ExplicitLeft = 192
ExplicitTop = 16
ExplicitHeight = 100
end
object edtResource: TEdit
Left = 212
Top = 4
Width = 511
Height = 24
Align = alClient
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
Text = 'test'
OnKeyUp = edtResourceKeyUp
end
object btnSend: TButton
Left = 723
Top = 4
Width = 75
Height = 24
Action = actSend
Align = alRight
ParentShowHint = False
ShowHint = True
TabOrder = 1
ExplicitLeft = 716
ExplicitTop = 9
ExplicitHeight = 25
end
object Panel4: TPanel
Left = 4
Top = 4
Width = 205
Height = 24
Align = alLeft
BevelOuter = bvNone
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Consolas'
Font.Style = []
ParentFont = False
TabOrder = 2
ExplicitHeight = 27
object edtBaseUrl: TEdit
Left = 0
Top = 0
Width = 192
Height = 24
Align = alClient
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
Text = 'http://localhost:8080'
end
object Panel5: TPanel
Left = 192
Top = 0
Width = 13
Height = 24
Align = alRight
BevelOuter = bvNone
Caption = '/'
TabOrder = 1
ExplicitHeight = 26
end
end
end
object Panel2: TPanel
Left = 0
Top = 32
Width = 802
Height = 131
Align = alTop
BevelOuter = bvNone
TabOrder = 1
ExplicitTop = 41
DesignSize = (
802
131)
object RadioGroup1: TRadioGroup
Left = 8
Top = 6
Width = 105
Height = 115
Caption = 'Method'
TabOrder = 0
end
object rbGet: TRadioButton
Left = 16
Top = 24
Width = 81
Height = 17
Caption = 'GET'
Checked = True
TabOrder = 1
TabStop = True
end
object rbPut: TRadioButton
Left = 16
Top = 70
Width = 80
Height = 17
Caption = 'PUT'
TabOrder = 2
end
object rbPost: TRadioButton
Left = 16
Top = 47
Width = 80
Height = 17
Caption = 'POST'
TabOrder = 3
end
object rbDelete: TRadioButton
Left = 16
Top = 93
Width = 80
Height = 17
Caption = 'DELETE'
TabOrder = 4
end
object PageControl1: TPageControl
Left = 119
Top = 6
Width = 672
Height = 119
ActivePage = TabSheet1
Anchors = [akLeft, akTop, akRight, akBottom]
TabOrder = 5
ExplicitHeight = 116
object TabSheet1: TTabSheet
Caption = 'Body'
ExplicitHeight = 88
object MemRequestBody: TMemo
Left = 0
Top = 0
Width = 664
Height = 91
Align = alClient
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Consolas'
Font.Style = []
ParentFont = False
TabOrder = 0
ExplicitHeight = 88
end
end
object TabSheet2: TTabSheet
Caption = 'Headers'
ImageIndex = 1
ExplicitHeight = 88
object VLRequestHeaders: TValueListEditor
Left = 0
Top = 0
Width = 600
Height = 91
Align = alClient
KeyOptions = [keyEdit, keyAdd, keyDelete]
TabOrder = 0
ExplicitWidth = 592
ColWidths = (
150
444)
end
object Panel3: TPanel
Left = 600
Top = 0
Width = 64
Height = 91
Align = alRight
BevelOuter = bvNone
TabOrder = 1
object btnAddHeader: TBitBtn
Left = 6
Top = 0
Width = 51
Height = 42
Caption = 'Add'
TabOrder = 0
OnClick = btnAddHeaderClick
end
object btnRemoveHeader: TBitBtn
Left = 6
Top = 48
Width = 51
Height = 42
Caption = 'Remove'
TabOrder = 1
OnClick = btnRemoveHeaderClick
end
end
end
object Authentication: TTabSheet
Caption = 'Authentication'
ImageIndex = 2
ExplicitHeight = 88
object chkBasicAuth: TCheckBox
Left = 8
Top = 8
Width = 121
Height = 17
Caption = 'Basic Authentication'
TabOrder = 0
end
object edtUsername: TLabeledEdit
Left = 9
Top = 47
Width = 176
Height = 21
EditLabel.Width = 48
EditLabel.Height = 13
EditLabel.Caption = 'Username'
Enabled = False
TabOrder = 1
end
object edtPassword: TLabeledEdit
Left = 202
Top = 47
Width = 175
Height = 21
EditLabel.Width = 46
EditLabel.Height = 13
EditLabel.Caption = 'Passowrd'
Enabled = False
TabOrder = 2
end
end
end
end
object StatusBar1: TStatusBar
Left = 0
Top = 574
Width = 802
Height = 19
Panels = <
item
Width = 50
end
item
Width = 200
end
item
Width = 50
end>
end
object PageControl2: TPageControl
Left = 0
Top = 166
Width = 802
Height = 408
ActivePage = TabSheet3
Align = alClient
TabOrder = 3
ExplicitTop = 177
ExplicitHeight = 405
object TabSheet3: TTabSheet
Caption = 'Content'
ExplicitHeight = 377
object MemResponse: TMemo
Left = 0
Top = 0
Width = 794
Height = 380
Align = alClient
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Consolas'
Font.Style = []
ParentFont = False
ScrollBars = ssVertical
TabOrder = 0
ExplicitHeight = 377
end
end
object TabSheet4: TTabSheet
Caption = 'Headers'
ImageIndex = 1
ExplicitHeight = 374
object VLResponseHeaders: TValueListEditor
Left = 0
Top = 0
Width = 794
Height = 380
Align = alClient
TabOrder = 0
ExplicitHeight = 374
end
end
end
object RESTResponse: TRESTResponse
ContentType = 'text/html'
Left = 336
Top = 345
end
object RESTRequest: TRESTRequest
Accept = '*/*'
AcceptEncoding = 'gzip, deflate'
Client = RESTClient
Params = <>
Resource = 'test'
Response = RESTResponse
SynchronizedEvents = False
Left = 416
Top = 345
end
object RESTClient: TRESTClient
Accept = 'application/json, text/plain; q=0.9, text/html;q=0.8,'
AcceptCharset = 'UTF-8, *;q=0.8'
BaseURL = 'http://localhost:8080'
Params = <>
HandleRedirects = True
Left = 496
Top = 345
end
object BindingsList1: TBindingsList
Methods = <>
OutputConverters = <>
Left = 220
Top = 357
object LinkControlToPropertyEnabled: TLinkControlToProperty
Category = 'Quick Bindings'
Control = chkBasicAuth
Track = True
Component = edtUsername
ComponentProperty = 'Enabled'
end
object LinkControlToPropertyEnabled2: TLinkControlToProperty
Category = 'Quick Bindings'
Control = chkBasicAuth
Track = True
Component = edtPassword
ComponentProperty = 'Enabled'
InitializeControlValue = False
end
end
object ActionList1: TActionList
Left = 532
Top = 438
object actSend: TAction
Caption = 'Send'
Hint = 'Send Request'
ShortCut = 120
OnExecute = actSendExecute
end
end
end