Spaces:
Runtime error
Runtime error
<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> | |