ARD2PMD Web Server Web Server using the ARD2PMD adapter and the SPI2SD adapter with the Seeeduino Arch Pro to serve files from the micro SD card and provide RESTful access to the Pmod connector

Dependencies:   ARD2PMD EthernetInterface MAX14661 PmodInterface SDFileSystem mbed-rtos mbed

Fork of ARD2PMD_WebServer by Greg Steiert

Revision:
5:892b329134ca
Parent:
4:7fdb64fe6419
Child:
6:cff87a23b6bd
--- a/main.cpp	Tue Apr 29 04:46:29 2014 +0000
+++ b/main.cpp	Sun May 04 23:10:49 2014 +0000
@@ -182,7 +182,7 @@
                     client.send(buffer,n);
                 } else {
                     *eou = 0;
-                    if (!strncmp(uristr, "/cgi/", 5)) {
+                    if (!strncmp(uristr, "/pmd/", 5)) {
                         get_cgi(uristr+4);
                     } else {
                         get_file(uristr);