how can I use data posted from ajax in flask?,request.json['foo']