title: Laravel 7 HTTP client attach multiple files
body: <p>I am trying to make POST to a rest API where I need to send multiple files from a user input form. I have managed to get it to work with a single file, but when there are multiple files sent as an array ($file[]), I can't see anything in the laravel docs to show how this can be done.</p>
  
  <pre><code>$response = 'API_URL';
          $response = Http::withToken(ENV('API_KEY'))
          -&gt;attach('file', fopen($request-&gt;file, 'r'))
          -&gt;post($url, [
             'uuid' =&gt; $request-&gt;uuid,
          ]);
  </code></pre>