I\'m writing a very simple demo webapp, and I can\'t seem to pass a json object from js to python using ajax.
I\'ve tried a number of suggesti
Because you are not sending JSON, to the flask app (see this and this). Your current code results in a standard urlencoded form post. Which in turn results in an entry being populated in request.form
request.form.get('word')
Switch to a json post as per the guidelines in the above Q&As to access the data through request.json.