File size: 991 Bytes
54c3fd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>OTP Gateway</title>
</head>
<body>
    <h2>Send OTP Request</h2>

    <form id="otpForm">
        <label for="isd_code">ISD Code:</label><br>
        <input type="text" id="isd_code" name="isd_code" required><br><br>

        <label for="phone">Phone Number:</label><br>
        <input type="text" id="phone" name="phone" required><br><br>

        <label for="tenant_id">Tenant ID:</label><br>
        <input type="number" id="tenant_id" name="tenant_id" required><br><br>

        <label for="product_id">Product ID:</label><br>
        <input type="number" id="product_id" name="product_id" required><br><br>

        <button type="submit">Send OTP</button>
    </form>

    <h3>Response:</h3>
    <pre id="response"></pre>

    <!-- Link to the external JavaScript file -->
    <script src="otp_request.js"></script>
</body>
</html>