Update biz_v.html
Browse files- biz_v.html +3 -1
biz_v.html
CHANGED
|
@@ -7,12 +7,14 @@
|
|
| 7 |
</head>
|
| 8 |
<body>
|
| 9 |
<h1>API Request</h1>
|
|
|
|
|
|
|
| 10 |
<button id="sendRequestButton">Send Request</button>
|
| 11 |
<textarea id="responseArea" rows="10" cols="50" readonly></textarea>
|
| 12 |
|
| 13 |
<script>
|
| 14 |
document.getElementById('sendRequestButton').addEventListener('click', function() {
|
| 15 |
-
const token = '
|
| 16 |
const url = 'https://online.bizon365.ru/api/v1/webinars/reports/getlist?maxDate=2021-08-06T00:00:00';
|
| 17 |
|
| 18 |
fetch(url, {
|
|
|
|
| 7 |
</head>
|
| 8 |
<body>
|
| 9 |
<h1>API Request</h1>
|
| 10 |
+
<label for="tokenInput">Enter Token:</label>
|
| 11 |
+
<input type="text" id="tokenInput" placeholder="Your Token">
|
| 12 |
<button id="sendRequestButton">Send Request</button>
|
| 13 |
<textarea id="responseArea" rows="10" cols="50" readonly></textarea>
|
| 14 |
|
| 15 |
<script>
|
| 16 |
document.getElementById('sendRequestButton').addEventListener('click', function() {
|
| 17 |
+
const token = document.getElementById('tokenInput').value;
|
| 18 |
const url = 'https://online.bizon365.ru/api/v1/webinars/reports/getlist?maxDate=2021-08-06T00:00:00';
|
| 19 |
|
| 20 |
fetch(url, {
|