On 10/11/17 13:05, Markus Pischinger
wrote:
Hi guys,
I've been trying out the new httpd server app that comes with
lwip 2.0.2.
It works great so far for static websites but i'm looking into
CGI to make GET requests.
Has anyone maybe got an example on how to do this? And what
should I use? There is a "old style" with LWIP_HTTPD_CGI and
"new style" with LWIP_HTTPD_CGI_SSI.
I tried the CGI_SSI, which works so far - i wrote a
httpd_cgi_handler and it gets called on GET requests. But i
don't really get how i should return any kind of data here?
That's the only comment in the header file to the cgi_handler:
/** Define this generic CGI handler in
your application.
* It is called once for every URI with
parameters.
* The parameters can be stored to
*/
Thanks in advance for any help!
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
The esp-open-rtos on github examples section has one, also
does web sockets, I got it working on a TIVA TM4C1294 ok.
Billy