I will not write poetry, but simply give you the exapmle code:
import requests
headers = {
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Language": "en-US,en;q=0.5",
"Referer": "SOMETHING",
"Cookie": "SOMETHING",
"Connection": "close",
"Content-Type": "application/x-www-form-urlencoded"
}
data = "SOME DATA"
url = "https://example.com/something"
request = requests.post(url, headers=headers, data=data)
.., , ;)