We have had to roll back to a previous version as the function to POST has stopped working.
The script / function works fine on a previous build.
def postURL_V3(url, TechnicianKey, operationName=None, json_data=None, params_data=None, files=None):
data = {
'input_data': json_data,
'TECHNICIAN_KEY': TechnicianKey,
'format': 'json',
'OPERATION_NAME': operationName,
}
params = {
'input_data': params_data,
'TECHNICIAN_KEY': TechnicianKey,
'format': 'json',
}
with requests.Session() as s:
return s.post(url,data=data, params=params, files=files,verify=False)
Anyone else experience the same?
I am using API V3 in my URL and COMPLETE_V3_JSON_FILE.
Thanks,
Jason