Upper Version Add PUT method Delete POST method

Dependencies:   Adafruit_GFX MbedJSONValue_v102 WIZnetInterface mbed

Fork of WIZwiki-REST-io_v102 by Lawrence Lee

Revision:
6:2974bbc94e7a
Parent:
5:473a66ae9596
Child:
8:60d99da6eeb2
--- a/RequestHandler.cpp	Mon Jul 04 00:14:31 2016 +0000
+++ b/RequestHandler.cpp	Fri Jul 29 08:14:28 2016 +0000
@@ -33,18 +33,20 @@
 #endif            
             if(tmpJson->hasMember(tok)){
                 tmpJson = &((*tmpJson)[tok]);
+                //if(!tmpJson->accessible) tmpJson->cb_action(tmpJson);
                 name = tok;
                 tok = strtok_r(0, "/", &last);
             }
             else{
-#ifdef DEBUG_HTTPREQ                
+#ifndef DEBUG_HTTPREQ                
                 printf("No Member\r\n");
 #endif                
                 break;
             }
         }
         if(name){
-            if(tok){
+            if(tok)
+            {
                 if(tmpJson->accessible){
 #ifdef DEBUG_HTTPREQ                    
                     printf("accessible : tmpJson->size()=%d\r\n",tmpJson->size());