Hi
I have a workflow that is using the Server API tool to copy workflows to a server. When I try using Swagger it works

When I try to reproduce this in the Server API tool I always get an "unsupported media type" error.

I've tried various combinations of full path, relative path, with and without extension. Note that I blanked out the userID
Looking at the python code in the tool it looks like it's expecting full path with no extension
def createFiles(file,name):
try:
if file != None:
return [('file', (name+".yxzp", open(file, 'rb'),'application/octet-stream'))]
else:
return ''
except Exception as e:
print(e)
return ''
Any thoughts
Dan