<https://lh3.googleusercontent.com/-qyKa11RscFw/V-4najevQgI/AAAAAAAAAQA/8niVSNr-6dsjEgJaXBwWFeFQSa1mQZ47wCLcB/s1600/postman2mojo.png>

Hi

I'm trying to post 2 files to an API build with Mojo, testing it with 
Postman

Well doing this, the only way i found to get files content is to split 
$string with regular expressions

my $asset = $self->req->content->asset;
my $string=$asset->slurp;


I tried Mojo::Upload; without success.

Anybody could drive me to get each file content without playing with 
regular expressions ?

Many thx.











-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to