Created a webpage with two buttons (agree and cancel) and placed in /www/test/index.html
Created a lua handler and placed in
/lib/netifd/test.lua
uhttpd config is as below,
config uhttpd 'redirect'
list listen_http 'IP:9005'
list listen_https 'IP:9005'
option home '/www/test'
option cert '/etc/uhttpd.crt'
option key '/etc/uhttpd.key'
option lua_handler '/lib/netifd/test.lua'
When a client connects and access the webpage with IP:9005 ,i am able to view the page;
when i do the button click, i am not able to see anyting on lua handler. help me to get the response in lua handler.
Note : basically having a webpage thrown to client and needs to store their response in AP