The version in lwIP is *incredibly* simple. It serves up the same web page to 
every incoming HTTP GET command - and doesn't even fully parse the input. A 
quick Google search pulled up this website, which can explain more about the 
HTTP protocol and how you can parse the things sent to the server:

http://www.jmarshall.com/easy/http/#postmethod

 

But as for using lwIP to do the network transfers, the online example can get 
you started.


Jared

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Urs Gerber
Sent: Tuesday, July 17, 2007 8:51 AM
To: Grubb, Jared; 'Mailing list for lwIP users'
Subject: AW: RE: [lwip-users] webserver with method=POST

 

Hi Jared

 

Thanks for short answer.

But all examples work with method "GET" and these is also no problem.

I try with method "POST" and do not find the entered datas!?

 

Mit freundlichen Grüssen 
Urs Gerber 

        -----Ursprüngliche Nachricht-----
        Von: Grubb, Jared [mailto:[EMAIL PROTECTED]
        Gesendet: Dienstag, 17. Juli 2007 17:29
        An: [EMAIL PROTECTED]; Mailing list for lwIP users
        Betreff: [?? Probable Spam] RE: [lwip-users] webserver with method=POST

        There is a real basic web server example in the CVS right now, under 
/contrib/apps/httpserver (this is in the "contrib" module). You can browse the 
online CVS if you need to.

         

        Second, I would read the original document that Adam Dunkels wrote 
about lwIP. It's a few years old now, and we're working on updated 
documentation, but with the example above (which is current) and the old PDF, 
you should be able to get yourself started! The PDF is here:

        http://www.sics.se/~adam/lwip/doc/lwip.pdf
        
        Jared

         

        From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Urs 
Gerber
        Sent: Tuesday, July 17, 2007 7:25 AM
        To: [email protected]
        Subject: [lwip-users] webserver with method=POST

         

        I'm using lwip 1.2 and would like to make a small webserver application

        with a password inquiry (method POST).

        Question: 

        How can I read the entered data?

        Does someone have an example?

         

        Mit freundlichen Grüssen 
        Urs Gerber 

         

_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to