I have use requests
library from Python to send a get request:
response = requests.get(url, verify, auth, params, headers)
My assumption was that one can send any get-request directly from a browser. For example, in the address line of a browser I need to put something like that:
http://my_url.net?param1=12¶m2=777
In the above way I can set url
and params
that I use in my Python function. But how can I set auth
(user name and password) in the get request in case if I use browser to send the request. The same question is applicable to the remaining two arguments: verify
and headers
.