Submitted originally by: josh.mineroff
Is it possible in domino to have multiple endpoints and we can call any of it from outside? I tried Domino APP with simple hello world using python flask and it worked fine with hello world as output.
My other endpoint is,
http://<url>/hello - but this doesn't work.
My code is simple, as below:
from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" @app.route("/hello") def hello2(): return "Hello World2" if __name__ == '__main__': app.run(port=8888, host='0.0.0.0', debug=True)