   }
 
   digitalWrite(ledPin, ledState);
-  Serial.println(line);
+  //Serial.println(host+url);
   
 }
 

      return;
    }
  }
  
   String line;

  // Read all the lines of the reply from server and print them to Serial
  while(client.available()){
    line = client.readStringUntil('\r');
    line.trim();
  }

  if(line.equals("true")){


  // Use WiFiClient class to create TCP connections
  WiFiClient client;
  const int httpPort = 80;
  if (!client.connect(host, httpPort)) {
    Serial.println("connection failed");
    return;
