Second round feedback

This commit is contained in:
Kevin Stubbings
2024-10-30 13:52:38 -07:00
parent 0483b8004c
commit ac411f1254
3 changed files with 17 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
# Source: https://bottlepy.org/docs/dev/tutorial.html#the-application-object
from bottle import Bottle, run
app = Bottle()
@app.route('/hello') # $ routeSetup="/hello"
def hello(): # $ requestHandler
return "Hello World!" # $ HttpResponse responseBody="Hello World!" mimetype=text/html
if __name__ == '__main__':
app.run(host='localhost', port=8080)