You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having difficulty understanding how to use PageBuilder to get info back from a webpage with 5 text string boxes. To use the example it uses the AutoConnect which works great! The examples I have found are most focused on text messages printed to the page. I need to have a webpage return data entered by the user of the ESP32 WebServer IP address/setup. Somewhere the argument/parameter data is returned, and I need to parse the returned data. Anyone that could help I am new to this and looking for a example code on how to get the returned data from the user input. add the debug output -- some times I get the parameter in the return call to the HandleAcs - but rarely..
Thank you for moving to discussion this is not a bug, but a lack of my understanding. I also included my code (above) if you run the code it needs AutoConnect and PageBuilder installed and just at the IP ESP32 from the serial monitor - just enter the webserver IP address/setup and should display the page with 5 text boxes I need the data entered and learn where or how to get this data..
This discussion was converted from issue #336 on March 24, 2021 12:01.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am having difficulty understanding how to use PageBuilder to get info back from a webpage with 5 text string boxes. To use the example it uses the AutoConnect which works great! The examples I have found are most focused on text messages printed to the page. I need to have a webpage return data entered by the user of the ESP32 WebServer IP address/setup. Somewhere the argument/parameter data is returned, and I need to parse the returned data. Anyone that could help I am new to this and looking for a example code on how to get the returned data from the user input. add the debug output -- some times I get the parameter in the return call to the HandleAcs - but rarely..
http://192.168.86.20/setup
http://192.168.86.20/method=post?callsign=kc0skm&Ant1=20+Meter+Dipole&Ant2=40+Meter+yagi&Ant3=stepper+vertica&Ant4=Beverage
autoconnectMITpb.zip
Thank you for moving to discussion this is not a bug, but a lack of my understanding. I also included my code (above) if you run the code it needs AutoConnect and PageBuilder installed and just at the IP ESP32 from the serial monitor - just enter the webserver IP address/setup and should display the page with 5 text boxes I need the data entered and learn where or how to get this data..
----Listing files before format----
[AC] Current:AppleNet
[AC] WiFi.config(IP=0.0.0.0, Gateway=0.0.0.0, Subnetmask=0.0.0.0, DNS1=0.0.0.0, DNS2=0.0.0.0)
[AC] WiFi.begin().established IP:192.168.86.20
[AC] http server started
WiFi connected: 192.168.86.20
http server:192.168.86.20
[AC] Host:,/,ignored
Request:/
[PB] at leaving build: 271556 free
[PB] Free heap:271664, content len.:53
[PB] Res:200, Chunked:0
[AC] Host:192.168.86.20,/setup,ignored
Request:/setup
[PB] at leaving build: 268428 free
[PB] Free heap:269768, content len.:1238
[PB] Res:200, Chunked:0
[AC] Host:192.168.86.20,/method=post,ignored
Request:/method=post
HandleAcs debug dump
Error: Handler not found
URI: /method=post
Method: GET
Arguments: 0
path=
[PB] at leaving build: 269680 free
Beta Was this translation helpful? Give feedback.
All reactions