Trae Assistant commited on
Commit
2d8c38a
·
1 Parent(s): c579494

Add default demo data on load

Browse files
Files changed (1) hide show
  1. templates/index.html +6 -3
templates/index.html CHANGED
@@ -289,9 +289,12 @@
289
 
290
  const currentRequest = ref({
291
  method: 'GET',
292
- url: '',
293
- params: [{ key: '', value: '', active: true }],
294
- headers: [{ key: '', value: '', active: true }],
 
 
 
295
  bodyType: 'none',
296
  bodyContent: ''
297
  });
 
289
 
290
  const currentRequest = ref({
291
  method: 'GET',
292
+ url: 'https://httpbin.org/get',
293
+ params: [{ key: 'hello', value: 'world', active: true }],
294
+ headers: [
295
+ { key: 'User-Agent', value: 'HttpRequestStudio/1.0', active: true },
296
+ { key: 'Accept', value: 'application/json', active: true }
297
+ ],
298
  bodyType: 'none',
299
  bodyContent: ''
300
  });