mysql – GET / HTTP/1.1 404 in Python Flask

mysql – GET / HTTP/1.1 404 in Python Flask

Before your hello_world function add @app.route(/) such that your code looks as follows,

@app.route(/)
def hello_world():
    print hello world

mysql – GET / HTTP/1.1 404 in Python Flask

Leave a Reply

Your email address will not be published.