demo_requests_post_proxies.py:
import requests url = 'https://w3schools.com/python/demopage.php' myobj = {'somekey': 'somevalue'} #find a free proxy address and send your request via that proxy: x = requests.post(url, data = myobj, proxies = { "https" : "https://1.1.0.1:80"}) #'demopage.php' will print the ip address of the proxy instead of your ip: print(x.text)
C:\Users\My Name>python demo_requests_post_proxies.py
Ip address: 1.1.0.1