Compare commits

..

No commits in common. "9b344c1138e886652f066723d294548747833ebb" and "649c80b5fc23feea54569706993492371cbb81d9" have entirely different histories.

View file

@ -4,7 +4,6 @@ import flask
import flask_sqlalchemy
import flask_praetorian
import flask_cors
import sys
db = flask_sqlalchemy.SQLAlchemy()
guard = flask_praetorian.Praetorian()
@ -224,12 +223,16 @@ def survey():
return ret, 400
@app.route('/api/protected/behavior', methods=['GET'])
@flask_praetorian.auth_required
def get_randompassword():
print("Hallo")
@app.route('/api/protected/behavior', methods=['POST'])
@flask_praetorian.auth_required
def check_password_username():
print("hallooo POST", file=sys.stderr)
ret = {'message': 'Top'}
return ret, 200
print("hallooo POST")
# Run the example