Parsing the query string

Report a typo

Initialize a parser and then parse parameters name (a string) and quantity(an integer) from the query string.

Write a program in Python 3
parser = RequestParser()
# add arguments to parser

@app.route('/')
def main_view():
# parse data here
return {'data_from_url': data}
___

Create a free account to access the full topic