I need to create an API end point like :
@app.route('/user/<username>')
def user(username)
-- do something with the username
in the index.html the code for input box is :
<input type="username" name="user_name" id="uname" placeholder="Input your name">
Pls advise how I can pass this input as the 'username' variable?