From 31da346652c6c6571284ad4e6457aeba86307e96 Mon Sep 17 00:00:00 2001 From: florisdebeast Date: Sun, 29 Jun 2025 02:19:01 +0200 Subject: [PATCH] maak het een GET request anders werkt het niet --- dht11.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dht11.py b/dht11.py index 57962c5..d5115b9 100644 --- a/dht11.py +++ b/dht11.py @@ -29,7 +29,7 @@ def check_data(): GPIO.output(FAN_PIN, GPIO.LOW) class handler_class(http.server.BaseHTTPRequestHandler): - def do_WEB (self): + def do_GET (self): if self.path == '/': self.send_response(200) self.send_header('Content-type', 'text/html; charset=utf-8')