I am trying to find an equivalent to:
self.request.get_all("value")
(from webapp2)
on flask, the fact is i'm very new to flask and web development. I cant find anything similar on flasks documentation
I am trying to find an equivalent to:
self.request.get_all("value")
(from webapp2)
on flask, the fact is i'm very new to flask and web development. I cant find anything similar on flasks documentation
To get all values for a particular key in the request, use getlist
:
request.args.getlist('value')
request.args
returns a MultiDict
object, as documented here