问题
Does anybody know what settings to configure when using Postman extension for Chrome for testing file uploading in a Laravel 4 app?
$file = Input::file('media');
var_dump($file);
Returns null.

回答1:
Turns out check your PHP.ini settings and restart apache and PHP. I was testing video files which exceeded the POST and upload size limits in my configuration, hence the results.
来源:https://stackoverflow.com/questions/23441991/correct-postman-settings-when-testing-file-uploading-in-laravel-4