khrt / Raisin

Raisin - a REST API micro framework for Perl 🐫 🐪
61 stars 31 forks source link

question: can Raisin handle file uploads ? #121

Closed emil-perhinschi closed 1 year ago

emil-perhinschi commented 1 year ago

Hello,

can Raisin handle file uploads ?

than you Emil

khrt commented 1 year ago

Hi @emil-perhinschi,

Raisin can handle file uploads, you can use https://github.com/khrt/Raisin#req to access Plack::Request, then it should be no different from what is described in Plack::Request::Upload's documentation.

Hope this helps.