Laravel\Vue - ajax file upload not working on the production server
Laravel's $request->all()
method only pulls from the input, thus in the store()
method of VideoUploadController
$request->all()
return empty object.
In your script, it calls this.store()
after checked the isVideo
is true while file changes. As a result, there isn't a uid
parameter or video
parameter.