Hello,
I downloaded the lpcxpresso54628_lwip_httpsrv_bm example from SDK.
I managed to configure a costum webpage, and to display it also on the LCD.
Now i'm trying to send some data from the client (web browser) to my server (LPC Board), but i'm having some troubles.
I managed to activate the CGI in the project (#define LWIP_HTTPD_CGI 1 - httpd_opts.h), but now i'm stuck.
Is there any example how to use the CGI with the html's function GET?
I tried to google it, but apart the functions for CGI present in the httpd.h file, i didn't find anything else.
How and where have i to use this functions?
Thank you in advance
Hello Alessandro,
CGI as you already view on the internet pass variables between the Web Page ( HTTP Server) and the Microcontroller application, this means that you can use the CGI when you pass the variable and use this variable in the MCU to for example Turn On a GPIO, start a TIMER, whatever it is needed in your application