I am trying to give data from javascript to python, using post
On my Javascript
$('ABC').on("click", function(){
$.post( '/user',
{
user: 'here'
}
)});
And giving this to python
@app.route("/user", methods=['GET', 'POST'])
def user():
id = user
return id
Above code should show html with just user.
But page does not move when on click..
Any idea?
console?<form>.