t 'clean_fragment';
use Data::Dumper;
use MIME::Detect;
our $VERSION = '0.02';
use JSON qw(encode_json decode_json);
=head1 NAME
HTTP::Upload::FlowJs - handle resumable multi-part HTTP uploads wit
owjs->jsConfig(
target => '/upload',
);
# JSON string
my $config = $flowjs->jsConfigStr(
target => '/upload',
);
Create a JSON string that encapsulates the configuration of the P
adMethod => 'POST',
%override,
};
}
sub jsConfigStr( $self, %override ) {
encode_json($self->jsConfig(%override))
}
=head2 C<< $flowjs->parameter_names >>
my $params = params();