We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42688c4 commit 6961a89Copy full SHA for 6961a89
1 file changed
PicoW_CircuitPython_HTTP_Server/code.py
@@ -149,7 +149,7 @@ def base(request: HTTPRequest): # pylint: disable=unused-argument
149
150
# if a button is pressed on the site
151
@server.route("/", method=HTTPMethod.POST)
152
-def buttonpress(request):
+def buttonpress(request: HTTPRequest):
153
# get the raw text
154
raw_text = request.raw_request.decode("utf8")
155
print(raw_text)
0 commit comments