Use curl to upload:
curl -F file=@"[file]" {{user_url}}
If key is enabled then a field "key" might be required in which case it would be
curl -F file=@"[file]" -F "key=[key]" {{user_url}}