I am planning to get input from an HTML Form when submitted, the input will be send over to Python. Here is the HTML File
Send Message
Now I don't know the best way to do this, I tried this in Python but doesn't seem to work
@app.route('/', methods=['POST'])
def form_post():
userEmail = request.form['userEmail']
userPassword = request.form['userPassword']
return userEmail, userPassword
Can anyone help me out here?