We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42688c4 + 6961a89 commit 74f7e11Copy full SHA for 74f7e11
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