did you get anywhere on this? I’m having a similar problem where I want to use content-disposition.
The api documentation for the API I’m trying to call has this:
-F ‘file=@/path/to/file/file.pdf;filename=desired_filename.pdf’
But if I try to pass a file’s URL with ; filename=desiredfilename - it just blows up.
The api documentation suggests using this:
Content-Disposition: form-data; name=“file”; filename=“your_document_id
I’m tempted to put that in the header with [ ] for your document id ?