Skip to content

Commit a4074c6

Browse files
author
Ankur Srivastava
committed
changed method from post to get
1 parent 2b31b3d commit a4074c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/flask_app/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def login():
7979
return jsonify(ret), 200
8080

8181

82-
@app.route('/api/protected', methods=['POST'])
82+
@app.route('/api/protected', methods=['GET'])
8383
@jwt_required
8484
def get_data():
8585
"""Get dummy data returned from the server."""

0 commit comments

Comments
 (0)