NAME
Catmandu::FedoraCommons::Model::upload - Perl model for the Fedora 'upload' REST call
SYNOPSIS
use Catmandu::FedoraCommons;
my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');
my $obj = $fedora->upload(file => 't/marc.xml')->parse_content;
{
'id' => 'upload://11'
}