from flask import Flask, jsonify app = Flask(__name__) @app.route('/') def main(): return jsonify({ 'status':200, 'content':"Hello, world" }) if __name__ == '__main__': app.run(host='0.0.0.0', port=7860, debug=False)