 /*
   Web client
 
-  This sketch connects to a website (http://www.google.com)
+  This sketch connects to a website (http://192.168.1.100)
   using an Arduino Wiznet Ethernet shield.
 
   Circuit:

  // from the server, read them and print them:
  while (client.available() || !begin)
  {
    char c = client.read();
    Serial.print(c);
    if (c == '{')
    {
      begin = true;
    }

    if (c == '}')
    {
      break;
    }

    if (begin && c != '{')
    {
      response += (c);
    }
    delay(1);
  }
  Serial.println();
  Serial.println();
  Serial.println(response);
  Serial.println();
  delay(1000);
  int start = response.indexOf("Success\":\"") + 11;
  int end = start + 1;
  String nodeId = response.substring(start, end);
  Serial.println(nodeId);
  delay(5000);
  const char* command = "1";
  if (nodeId == "1")
  {

    Serial.println("One");
    delay(10000);

  }

  by David A. Mellis
  modified 9 Apr 2012
  by Tom Igoe, based on work by Adrian McEwen

  modified 8 Apr 2017
  by Dr. Aung Win Htut (Green Hackers) 
  Add simple JSON parsing

*/

