Help for this page
curl ENDPOINT \ -H "Authorization: Bearer ACCESS_TOKEN" -X POST \ -F attributes='{"name":"test.txt", "parent":{"id":"0"}}' \ -F file=@test.txt
my $json = encode_json {"name" => "test.txt", "parent" => {"id" => 0}} +; ... Content_Type => 'multipart/form-data' . );