Что не так, кто подскажет?
import requests endpoint = "https://api2.vetrf.ru:8002" data = {'login':'1111111','passw':'2222222} headers = {'SOAPAction':'submitApplication', 'Content-Type': 'text/xml; charset=utf-8','Accept-Charset':'utf-8','User-Agent': '1C+Enterprise/8.3','Connection': 'Keep-Alive'} session = requests.session() session.headers = headers response = session.post(url=endpoint, data=data) print(response.content)