Simple "Hello world" handler ?
Topic last updated
30 Sep 2011, by
Chris Fender.
1 reply
HTTPServer
#
05 Nov 2010 . Edited: 05 Nov 2010
I managed to run the demo HTTP Server. As I learned from the HTTPRequestHandler instruction that
svr.addHandler<SimpleHandler>("/hello");
returns an "hello" message.
Now I wonder where the "Hello World!" response of my webserver (http://192.168.1.51/) comes from since the demo code
svr.addHandler<SimpleHandler>("/"); //Default handler
has not even a simple letter after the slash? The mbed does´nt contain an index.htm file!? By the way at this state the filesystem is not activated.
chris
Replies
soldeerridder
#
30 Sep 2011
Please log in to post a reply.
I managed to run the demo HTTP Server. As I learned from the HTTPRequestHandler instruction that
svr.addHandler<SimpleHandler>("/hello");returns an "hello" message.
Now I wonder where the "Hello World!" response of my webserver (http://192.168.1.51/) comes from since the demo code
svr.addHandler<SimpleHandler>("/"); //Default handlerhas not even a simple letter after the slash? The mbed does´nt contain an index.htm file!? By the way at this state the filesystem is not activated.
chris