started backend with things
This commit is contained in:
parent
fb5675eebd
commit
84c997f17e
1 changed files with 10 additions and 3 deletions
|
@ -234,9 +234,16 @@ def survey():
|
||||||
return ret, 400
|
return ret, 400
|
||||||
|
|
||||||
|
|
||||||
@app.route('/time')
|
@app.route('/api/protected/behavior', methods=['GET'])
|
||||||
def get_current_time():
|
@flask_praetorian.auth_required
|
||||||
return {'time': time.time()}
|
def get_randompassword():
|
||||||
|
print("Hallo")
|
||||||
|
|
||||||
|
|
||||||
|
@app.route('/api/protected/behavior', methods=['POST'])
|
||||||
|
@flask_praetorian.auth_required
|
||||||
|
def check_password_username():
|
||||||
|
print("hallooo POST")
|
||||||
|
|
||||||
|
|
||||||
# Run the example
|
# Run the example
|
||||||
|
|
Loading…
Reference in a new issue