forked from lugvitc/api-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (83 loc) · 2.34 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>API Testing | Linux Club, VIT Chennai</title>
<script defer src="index.js"></script>
</head>
<body>
<header><h1>API Testing</h1></header>
<main>
<h2>Request</h2>
<div id="request-form">
<select id="method">
<option value="GET">GET</option>
<option value="HEAD">HEAD</option>
<option value="POST">POST</option>
<option value="PUT">PUT</option>
<option value="DELETE">DELETE</option>
<option value="PATCH">PATCH</option>
<option value="CONNECT">CONNECT</option>
<option value="OPTIONS">OPTIONS</option>
</select>
<input id="url" /><br />
<h3>Parameters</h3>
<table>
<thead>
<tr>
<th>Key</th>
<th>Value</th>
</tr>
</thead>
<tbody id="parameters">
<tr id="1">
<td><input type="text" id="parameter-name" /></td>
<td>
<input type="text" id="parameter-value" /> <span
class="cancel"
>✖</span
>
</td>
</tr>
</tbody>
</table>
<button id="add-parameter">Add parameter</button>
<br />
<h3>Headers</h3>
<table>
<thead>
<tr id="1">
<th>Key</th>
<th>Value</th>
</tr>
</thead>
<tbody id="headers">
<tr id="1">
<td><input type="text" id="header-name" /></td>
<td>
<input type="text" id="header-value" /> <span
class="cancel"
>✖</span
>
</td>
</tr>
</tbody>
</table>
<button id="add-header">Add header</button>
<br />
<br />
<button>Send</button>
</div>
<h2>Response</h2>
<div id="response"></div>
</main>
<footer>
Made with ❤️ by
<a href="https://lugvitc.github.io" target="_blank" rel="noreferrer"
>LUGVITC</a
>
</footer>
</body>
</html>