       digitalWrite(LED_BUILTIN, HIGH);
       server.send(200, "application/json", "{\"Response\":\"LED Off\"}");
     });
+
+    server.on("/temperature", [](){
+      float temperature = dht.readTemperature();
+      //server.send(200, "application/json", "{\"Response\":\"LED Off\"}");
+//      Serial.print(F("%  Temperature: "));
+//      Serial.print(temperature);
+      server.send(200, "application/json", "{\"Response\":\"" + String(temperature) + "\"}");      
+    });
+    server.on("/humidity", [](){
+      float humidity = dht.readHumidity();
+      //server.send(200, "application/json", "{\"Response\":\"LED Off\"}");
+//      Serial.print(F("%  Temperature: "));
+//      Serial.print(temperature);
+      server.send(200, "application/json", "{\"Response\":\"" + String(humidity) + "\"}");      
+    });
   }
 }
 /////////////////////////////////////////////////////////////////////////////////////////////////////////

#include <ESP8266WebServer.h>
#include <PubSubClient.h>
#include <EEPROM.h>

#define USER_BUTTON 16
#define AP_LED 0

//    pinMode(0, INPUT);
//    delay(1000);
//    reconnect();
//   }  
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////
void loop() {
