I have this simple code available on the Flask page:
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run()
When you upload the Service, everything works perfectly.
But by adding something in app.rote
, it will return a 404.
Ex: app.route("/Teste")
Why does this happen?