diff --git a/main.py b/main.py index 8a52ecc..525f40f 100644 --- a/main.py +++ b/main.py @@ -129,6 +129,14 @@ def register(): return jsonify({'message': 'User registered successfully'}), 201 +@app.route('/logincas?ticket=', methods=['GET']) +def logincas(ticket_id): + data = request.get_json() + print(ticket_id) + print(data) + return jsonify({'message': 'Login successful'+ticket_id}), 200 + + @app.route('/login', methods=['POST']) def login(): data = request.get_json()