php - Laravel Dropzone Request empty -


i'm uploading single file dropzone laravel application.

it's worked fine, has stopped working.

dropzone uploads plain text details along request. far can tell, upload going fine. can see in chrome developer tools form fields there etc (see request below).

however, if dd($request->all()) returns empty array.

this request seen through chrome developer tools:

accept:application/json accept-encoding:gzip, deflate accept-language:en-gb,en-us;q=0.8,en;q=0.6 cache-control:no-cache connection:keep-alive content-length:10939930 content-type:multipart/form-data; boundary=----webkitformboundaryzcrfnssymqfou3uh cookie:xsrf-token=some_token_value host:gateway origin:http://gateway referer:http://gateway/tools/videos/create user-agent:mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.36 (khtml, gecko) chrome/43.0.2357.130 safari/537.36 x-csrf-token:token_value x-requested-with:xmlhttprequest  request payload ------webkitformboundaryzcrfnssymqfou3uh content-disposition: form-data; name="video_id"  11 ------webkitformboundaryzcrfnssymqfou3uh content-disposition: form-data; name="null"   ------webkitformboundaryzcrfnssymqfou3uh content-disposition: form-data; name="file"; filename="senhs_intro.mp4" content-type: video/mp4   ------webkitformboundaryzcrfnssymqfou3uh-- 

however, when dd($request->all) returns [].

even though there valid video_id request value, , file file has been sent.

can see have done incorrectly, point idea of might have done can try alternate code, or recommend do?

if need information, please let me know,

thanks in advance.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -