title: how to upload audio with a file in laravel?
body: <p>making an api to upload multifile with an audio everything is working but audio file can't uploaded 
  and uploading with dd($request)->all
  then it works 
  but while uploading with any condition its gives null value on every clientoriginalName ,extension,
  how t fix this...</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers\Api;
  
  use Illuminate\Http\Request;
  use App\Http\Controllers\Controller;
  use Illuminate\Support\Facades\Storage;
  use App\File;
  use Illuminate\Support\Facades\DB;
  use Illuminate\Support\Facades\Response;
  use Illuminate\Support\Facades\URL;
  use Illuminate\Support\Facades\Auth;
  
  
  class FileController extends Controller
  {
        public function store(Request $request)
      {
          $this-&gt;validate($request, [
              'title' =&gt; 'required',
              'description' =&gt; 'nullable',
              'file' =&gt; 'required|file|mimes:' . File::getAllExtensions() . '|max:' . File::getMaxSize(),
              'Fileaudio' =&gt;'nullable|mimes:audio/mpeg,mpga,mp3,wav,aac'
          ]);
  ////////////      All files       //////////////////
     $file = new File();
    $title = $request-&gt;title;
    $uploaded_file = $request-&gt;file('file');
    $filename = $uploaded_file-&gt;getClientOriginalName();
    $original_ext = $uploaded_file-&gt;getClientOriginalExtension();
    $type = $file-&gt;getType($original_ext);
    $filepath = $uploaded_file-&gt;storeAs('public/upload/files/',$filename);
    $files = URL::asset('storage/upload/files/' . $filename);
    $description = $request-&gt;description;
    $user_id = Auth::user()-&gt;id;
  /////////// Audio at null    /////////////////
       $Fileaudio = $request-&gt;file('audio');
       $audioname = $Fileaudio-&gt;getClientOriginalName();
       $audiopath =$Fileaudio-&gt;storeAs('public/upload/files/audio/', $audioname);
  
    //return $audiopath;
     dd($request-&gt;all());
  
   }
  
  }
  </code></pre>
  
  <p>and i am sending request to postman...</p>