Hi,
I want to use the BX310x embedded web server to configure some parameters of my application.
I writed my web page with the +srwschgweb command, for example:
type or paste code here
<!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h1>Configuration<h1>
<form action="" method="post">
<div>
<label for="n1">Number 1:</label>
<br/>
<input type="number" id="n1" name="n1">
</div>
<div>
<label for="n2">Number 2:</label>
<br/>
<input type="number" id="n2" name="n2">
</div>
<div class="button">
<button type="submit">Program</button>
</div>
</form>
</body>
</html>
Then I enabled the web server with the +srwsstate=1 and it works.
I don’t want to use the forward http request to host function.
But now:
how can I retrieve the values of n1 and n2 when the Program button is pressed?
Thanks