'Request' object has no attribute 'get' Python error
You want to use request.args
for your GET parameters in Flask. Here is a quote with an example from the Accessing Request Data section of the Quickstart document.
To access parameters submitted in the URL (?key=value) you can use the args attribute:
searchword = request.args.get('key', '')