Skip to the content.

File Uploading

File uploading is very simple and easy in unic framework.

Get uploaded file data:

$app->post('/file', function($req, $res) {
    // Get all file details
    $res->json($req->files());
});