diff --git a/presentation/presentation.tex b/presentation/presentation.tex index 181ba4c..10abd83 100644 --- a/presentation/presentation.tex +++ b/presentation/presentation.tex @@ -271,7 +271,7 @@ app.debug = True @app.route("/") def hello(): return "Hello ESP8266!" -@app.route("/id/", methods=['GET','POST']) +@app.route("/id/", methods=['GET','POST']) def log(id): app.logger.info("%s was here and delivered '%s'", id, request.data.decode("utf8")) return "You were here!"