플라스크 서버 세팅
from flask import Flask, jsonify
app = Flask(__name__)
@app.route('/')
def home():
print('hi')
return jsonify({'result': 'done'})
if __name__ == '__main__':
app.run('0.0.0.0', port=5000, debug=True)
플라스크 서버 세팅
from flask import Flask, jsonify
app = Flask(__name__)
@app.route('/')
def home():
print('hi')
return jsonify({'result': 'done'})
if __name__ == '__main__':
app.run('0.0.0.0', port=5000, debug=True)