this runs fine on my local machine, but as soon as I deploy it the service fails saying invalid syntax "for"
data = {k: request.form[k] for k in request.form.iterkeys()}
SyntaxError: invalid syntax
Appreciate the help on this, it's been a very long time since I did anything with Python and this one has got me stumped.