Actually this what i have from the $asset->slurp;

------WebKitFormBoundary2jXzI9WLBRoANocy
Content-Disposition: form-data; name="text"; filename="test.json"
Content-Type: application/octet-stream

  {
JSON
  }
------WebKitFormBoundary2jXzI9WLBRoANocy
Content-Disposition: form-data; name="filepdf"; filename="test(2).PDF"
Content-Type: application/pdf

%PDF-1.4
...pdf data....
%%EOF

So in the case i have to split et manage to get the files content using 
regexps.

But i'm wondering it is possible to get this through something like

my $pdfdata = $self->param('filepdf');
my $jsondata = $self->param('text');


-- 
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