I wanted to note on this, I checked our Apiary documentation and I see syntax for cURL requests for uploading files is not what I would expect. As noted above, --data-binary is the correct option to use for local files; altnernatively, if you're passing in raw data you would use --data.
I will follow up with our documentation team to ensure this is corrected as soon as possible.
Thanks for pointing this out!
Jesse Wilson Solution Architect - Data Integrations Singapore
No. --upload-file is a parameter specific to the cURL utility to tell it to use the specified file as the request body. It looks like you're acheiving this using "-Method Put -InFile <file>" with the tool you're using.