Commit cd847ca7 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Initial commit

parent 383f288d
import flask
app = flask.Flask(__name__)
@app.route('/', methods=['GET'])
def home():
return f"Hello!"
@app.route('/hello/<name>', methods=['GET'])
def hello(name):
return f"Hello, { name.strip() }!"
app.run(host="0.0.0.0")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment