Provided by: libcatmandu-fedoracommons-perl_0.5-2_all
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' }
SEE ALSO
Catmandu::FedoraCommons