-2

I'm working with a curl api that i'm not familiar with and need some help.

This is the call in curl: curl -U username:password ipinfo.io -x premium.residential.proxyrack.net:9999

How can I use that in Python requests module to later parse the answer?

Kervn
  • 1
  • Sorry if i'm being dumb but I'm still not sure how I should pass username and pass – Kervn May 09 '22 at 11:25
  • Reading the documentation might not be sexy, but it can answer many questions https://docs.python-requests.org/en/master/user/authentication/ – Tomalak May 09 '22 at 11:29

0 Answers0