We bought the self-hosting license recently, I spun-up the container and send out some requests. Not sure why getting a 404
This is what I am doing
import requests
headers = {
'accept': 'multipart/form-data',
'content-type': 'multipart/form-data; boundary=----WebKitFormBoundaryDCZOeYRyZRrwVxgV',
}
params = {
'insertBlankColumnAtFirst': 'false',
'minimizeTheNumberOfWorksheets': 'true',
'uniformWorksheets': 'false',
}
file_path = 'slaes_report.pdf'
with open(file_path, 'rb') as file:
files = {
'file': (file_path, file, 'application/pdf'),
}
response = requests.put('https://local_ip/pdf/convert/xlsx', params=params, headers=headers, files=files)
Am I doing something wrong?