I am currently working on a project which requires me to connect javascript with python. the scenario is: I have a simple form(name, email) using HTML and javascript and have to capture this in python. My analysis part is done in python. I don't have much knowledge about javascript but I read online about Flask and was able to connect javascript using Flask. How can I get the user input from javascript and transfer this into python? Python can read JSON data but I don't have any idea as to how to capture the user data.
-
1Get the form to POST the data to your Flask application and then see stackoverflow.com/questions/10434599/…Peter Collingridge– Peter Collingridge2018-02-22 17:51:02 +00:00Commented Feb 22, 2018 at 17:51
-
stackoverflow.com/questions/11747527/… a previous post with the answeruser9388156– user93881562018-02-22 17:55:23 +00:00Commented Feb 22, 2018 at 17:55
Add a comment
|