-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
205 lines (171 loc) · 7.47 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
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
<!DOCTYPE html>
<html>
<head>
<title>Multiple XMLHttpRequest Tools (GET/POST/PUT/DELETE)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="keywords" content="how to send multiple request to server, Send Multiple Requests, Javascript, postman send multiple requests, send multiple requests using postman, soapui send multiple requests, postman run single request multiple times, postman iteration variable, postman sequential requests, postman bulk send, send multiple soap requests, postman alternative, postman, restful-api, http, https, XMLHttpRequest, GET, POST, PUT, DELETE, client, curl, alternative, option, send request,test http post request online, postman, http post test tool, http request tool, http request online, http request tool windows, json request online, postman send request multiple times, 對同一個URL 同時發起多個請求, CSV, EXCEL">
<link rel="shortcut icon" href="https://res.cloudinary.com/dcmnwc3ux/image/upload/q_auto:good/v1528997843/Lotusfa.com/Multiple_XMLHttpRequest_Tools_ICON.png" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Boostrap 4 -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<!-- Sheet.js -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.12.13/xlsx.full.min.js"></script>
<!-- JS -->
<script src="./RequestController.js"></script>
<script src="./ExcelReader.js"></script>
<script src="./UIController.js"></script>
<script src="./DataTable.js"></script>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-auto" >
<img src="https://res.cloudinary.com/dcmnwc3ux/image/upload/c_scale,h_80,q_auto:good/v1528997843/Lotusfa.com/Multiple_XMLHttpRequest_Tools_ICON.png" width="160" >
</div>
<div class="col-sm">
<h3>Multiple XMLHttpRequest Tools</h3>
<h6>- online tools to send multiple requests to server</h6>
</div>
</div>
<hr>
<p>
<b>How to send multiple request to server?</b>
<br> - Enable <u><i><a target="_blank" href="https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi/related?hl=en">CORS</a> </i></u> ->Import your <u><i>DATA</i></u> -> Choose <u><i>Method</i></u> -> Input <u><i>URL</i></u> -> Click <u><i>Send</i></u>
<br>
<table border="1">
<b>Here is a example: </b>
<thead>
<tr >
<th>DATA</th>
<th>Method</th>
<th>URL</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="./wiki_example.csv" download="./wiki_example.csv">CSV</a></td>
<td>GET</td>
<td>https://en.wikipedia.org/w/api.php</td>
</tr>
</tbody>
</table>
<br><b>For more details,</b> visit my <a href="https://github.com/lotusho/Multiple-XMLHttpRequest">GITHUB</a>.
<br>
<br> <code><b>Pre-install:</b> To allows cross-domain-request, install this extention: <u> <a target="_blank" href="https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi/related?hl=en">(Allow-Control-Allow-Origin: *)</a></u></code>
</p>
<hr>
<!-- IMPORT CSV PAGE -->
<div class="row">
<div class="col-md-6">
<h5>Import DATA (xlsx/csv) : </h5>
<small>Note: Recommend to use xlsx <br> - csv formate is not support the data with comma ( , ) and empty data. </small>
<form>
<div class="form-group">
<div class="input-group row">
<label for="import_asn_file" class="col-sm-2 col-form-label">xlsx/csv:</label>
<div class="col-sm-10">
<input type="file" class="form-control-file" id="csv_import_btn" >
</div>
</div>
</div>
</form>
</div>
<div class="col-md-6">
<h5>Request Setting</h5>
<form>
<div class="form-group">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="">Method & URL : </span>
</div>
<div class="input-group-prepend">
<select class="custom-select" id="method_input">
<option value="GET" selected>GET</option>
<option value="POST">POST</option>
<option value="PUT">PUT</option>
<option value="DELETE">DELETE</option>
</select>
</div>
<input type="text" class="form-control" aria-label="Text input with dropdown button" id="url_input" placeholder="URL..." >
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="">Content-type : </span>
</div>
<input type="text" class="form-control" placeholder="Header"
id="content_type_input" value="application/x-www-form-urlencoded">
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="">Delay Times : </span>
</div>
<input type="text" class="form-control" placeholder="Dealy Time..."
id="delay_time_input" value="200">
<div class="input-group-append">
<span class="input-group-text">ms/request</span>
<button type="button" class="btn btn-primary active" id="send_btn" >Send</button>
</div>
</div>
</div>
</form>
<br>
</div>
</div>
<br>
<h4>Table</h4>
<table class="table table-bordered" style="font-size: 8px;">
<thead>
<tr id="csv_header">
<th></th>
</tr>
</thead>
<tbody id="csv_value">
<tr>
<td>
<br>
<br>
<br>
<br>
<br>
<br>
</td>
</tr>
</tbody>
</table>
<hr>
<h4>Result</h4>
<div id="result_space" style="font-size: 8px;">
<br>
<br>
<br>
<br>
<br>
<br>
</div>
<hr>
<footer class="footer">
<div class="container">
<span class="text-muted">
Power By: LOTUS FA,
<a href="https://lotusfa.com/">lotusfa.com</a>
</span>
<br>
<br>
</div>
</footer>
</div>
<script src="./main.js"></script>
<!--Google Analysis -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-80492067-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>