
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
그전 강의에서 http://localhost:5000/와 http://localhost:5000/mypage는 잘 들어가 졌는데 4-5강의에서 GET요청 API코드를 붙여 넣고 http://localhost:5000/ 에 들어가니 보시는 것처럼 사이트에 연결할 수 없다고 하네요 해결책을 알고 싶습니다!

from flask import Flask, render_template, request, jsonify
app = Flask(__name__)
@app.route('/')
def home():
return render_template('index.html')
@app.route('/test', methods=['GET'])
def test_get():
title_receive = request.args.get('title_give')
print(title_receive)
return jsonify({'result':'success', 'msg': '이 요청은 GET!'})
if __name__ == '__main__':
app.run('0.0.0.0', port=5000, debug=True)
