Added get kuk candidate endpoint. Behaviour still to implement

master
Davide Bongiovanni 6 years ago
parent 78a62e20b9
commit 95dc07d1e7

@ -156,6 +156,14 @@ def search_users():
r.close()
return str(result)
@app.route('/getkukcandidate')
def get_kuk_candidate():
date = datetime.datetime.strptime(request.args.get('date'), '%Y-%m-%d %H:%M')
meal_eaters = request.args.get('eaters').split(',')
# TODO: Implement
return 'davide'
@app.route('/login', methods=['GET', 'POST'])
def login():
if request.method == 'POST':

Loading…
Cancel
Save