Update app.py
Browse files
app.py
CHANGED
|
@@ -5,9 +5,9 @@ import os
|
|
| 5 |
|
| 6 |
app = Flask(__name__)
|
| 7 |
|
| 8 |
-
@app.route('/check_email', methods=['
|
| 9 |
def check_email():
|
| 10 |
-
email = request.
|
| 11 |
if not email:
|
| 12 |
return jsonify({'error': 'Email is required'}), 400
|
| 13 |
|
|
|
|
| 5 |
|
| 6 |
app = Flask(__name__)
|
| 7 |
|
| 8 |
+
@app.route('/check_email', methods=['GET'])
|
| 9 |
def check_email():
|
| 10 |
+
email = request.args.get('email')
|
| 11 |
if not email:
|
| 12 |
return jsonify({'error': 'Email is required'}), 400
|
| 13 |
|