This commit is contained in:
2025-03-01 16:22:45 +01:00
parent 933937dfa0
commit cab2c06a69

View File

@ -24,7 +24,7 @@ json_data = {
'password': 'l4c1j4yd33Du5lo', 'password': 'l4c1j4yd33Du5lo',
} }
response = requests.post('https://portainer.sectorq.eu/api/backup', headers=headers, json=json_data, verify=False) response = requests.post('https://portainer.sectorq.eu/api/backup', headers=headers, json=json_data, verify=True)
# Note: json_data will not be serialized by requests # Note: json_data will not be serialized by requests
# exactly as it was in the original request. # exactly as it was in the original request.