Example of how to manage reply from HTML FORM with POST method?
Posted: Thu Apr 11, 2019 12:23 pm
Hello
I have create an AP on ESP32.
It scan net, found all SSID and create on the fly a simply htm page:
Now I should take SSID name and password value.
Have you some working example?
Thanks
I have create an AP on ESP32.
It scan net, found all SSID and create on the fly a simply htm page:
Code: Select all
<!DOCTYPE html>
<html>
<head>
<title>Setup</title>
</head>
<body>
<form action='setup.htm' method = POST>
<select name='SSID_NAME' size='4'>
<option value='Home&Life'>Home&Life </option>
<option value='Vodafone>Vodafone </option>
<option value='TIM>TIM</option>
</select> <br>
<input type='text' name='SSID_NAME' placeholder='password' />
<br>
<input type='submit' value='Connect />
</form>
</body>
Have you some working example?
Thanks