Maulidaaa commited on
Commit
20c9c93
·
verified ·
1 Parent(s): 28e84b7

Update app/__init__.py

Browse files
Files changed (1) hide show
  1. app/__init__.py +1 -1
app/__init__.py CHANGED
@@ -5,7 +5,7 @@ def create_app():
5
  app = Flask(__name__)
6
  app.register_blueprint(analyze_blueprint)
7
 
8
- @app.route("/analyze", methods=["POST"])
9
  def analyze():
10
  return {"status": "success", "msg": "analyze route works"}
11
 
 
5
  app = Flask(__name__)
6
  app.register_blueprint(analyze_blueprint)
7
 
8
+ @app.route("/analyze", methods=["GET"])
9
  def analyze():
10
  return {"status": "success", "msg": "analyze route works"}
11