lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] httpd server app lwip 2.0.2 cgi


From: billium
Subject: Re: [lwip-users] httpd server app lwip 2.0.2 cgi
Date: Fri, 10 Nov 2017 15:50:51 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]