Answers for "post request with proxy python"

9

python requests get proxy

import requests

proxies = { "http": "http://10.10.10.10:8000",
           "https": "https://10.10.10.10:8000"
}
r = requests.get("http://toscrape.com", proxies=proxies)
Posted by: Guest on March-06-2020
0

post request with proxy python

from proxy_requests import ProxyRequests

r = ProxyRequests('url here')
r.set_headers({'name': 'rootVIII', 'secret_message': '7Yufs9KIfj33d'})
r.post_with_headers({'key1': 'value1', 'key2': 'value2'})
Posted by: Guest on February-02-2021

Code answers related to "post request with proxy python"

Python Answers by Framework

Browse Popular Code Answers by Language