   http.sendRequest("GET");
   String payload = http.getString();
   http.end();
-  Serial.println(payload);    
   if (payload == "true") {
     return true;
   }

					root.printTo(file);
				    file.println("");
				}
				delay(1000); 
			}
			delay(1000);
		}

}
*/
void sendInfo() {
	while(true)
	while (ss.available() > 0) {
		if (gps.encode(ss.read())) { 
			 float temperature = dht.readTemperature();
			 float humidity = dht.readHumidity();
			// Serial.println(temperature);
			 if (!isnan(temperature) || !isnan(humidity) && gps.date.isValid() 
				 && gps.time.isValid() && gps.location.isValid() && gps.location.isUpdated()) { 
			//if (gps.date.isValid() && gps.time.isValid() && gps.location.isValid() && gps.location.isUpdated()) { 
			 	StaticJsonBuffer<750> JSONbuffer;   
				JsonObject& root = JSONbuffer.createObject(); 
				JsonArray& values = root.createNestedArray("incidentValues");
				JsonObject& temp = values.createNestedObject();
