requests.get.parameters

Definition
Request parameters are values which requests return with.

Syntax
requests.get(url, params=value)

Examples
The code return with the exception of HTTPError because URL error.
 >>> try:
...     r=requests.get('http://www.pythonlake.c/turtle',params='turtle')
...     t=r.text
...     print(t)
... except:
...     print(e)
...     
<class 'requests.exceptions.HTTPError'>

Comments