-1

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

davidism
  • 121,510
  • 29
  • 395
  • 339

1 Answers1

0

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

Matt Healy
  • 18,033
  • 4
  • 56
  • 56