Step 1 - POST to api/files to create a file object
$ curl -v -u user:pass -H 'Accept: application/json' -H 'Content-Type: application/json' \
-d '{}' https://appname.remotex.net/api/files/
< HTTP/2 201
< content-type: application/json
< content-length: 421