Why laravel doesn't return a file name?

Why laravel doesn't return a file name? The query runs without error. But it returns an empty response.

public function loadImage() 

 if ($file = Request::file('image')) {
 $fileName = $file->getClientOriginalName();
 $fileExt = $file->getClientOriginalExtension();
 $fileSize = $file->getClientSize();

 echo $fileName;


 var $that = $(this),
 formData = new FormData($that.get(0)); 

 type: 'post',
 url: '/loadImage',
 data: formData,
 cache : false,
 processData: false,
 dataType: 'json',
 headers: {
 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
 success: function() {

Sent the following:

Content-Disposition: form-data; name:"image"; filename="No name-2.png"
Content-Type: image/png

July 9th 19 at 11:12
1 answer
July 9th 19 at 11:14
Decided trail. follows:

var $that = $(this),
 formData = new FormData($that.get(0)); 

 var request = new XMLHttpRequest();
 request.open("POST", "/loadImage");

Find more questions by tags jQuery