egekhter
egekhter

Reputation: 2225

Correct Postman Settings when testing file uploading in Laravel 4?

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.

Postman settings

Upvotes: 1

Views: 4136

Answers (1)

egekhter
egekhter

Reputation: 2225

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.

Upvotes: 1

Related Questions